]> git.baikalelectronics.ru Git - kernel.git/commit
arp: fix possible crash in arp_rcv()
authorEric Dumazet <edumazet@google.com>
Fri, 8 Feb 2013 18:48:21 +0000 (18:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Feb 2013 01:39:39 +0000 (20:39 -0500)
commitbaabeec1bbc22d640f263391f2d48f00232f4b95
tree62f3107f82879cc5aeec7cf02f39f7e37de07a41
parentc4493e71431e866815c44d29c94fd99673c21cbb
arp: fix possible crash in arp_rcv()

We should call skb_share_check() before pskb_may_pull(), or we
can crash in pskb_expand_head()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c