act_nat: fix wild pointer
authorChangli Gao <xiaosuo@gmail.com>
Thu, 29 Jul 2010 13:41:46 +0000 (13:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Aug 2010 05:04:54 +0000 (22:04 -0700)
commit072d79a31a3b870b49886f4347e23f81b7eca3ac
treee007177c6d42e63a610ba0a8a811c0b4b1c0841a
parent6d1d1d398cb7db7a12c5d652d50f85355345234f
act_nat: fix wild pointer

pskb_may_pull() may change skb pointers, so adjust icmph after pskb_may_pull().

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_nat.c