ndisc: Use skb_linearize() instead of pskb_may_pull(skb, skb->len).
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Mon, 21 Jan 2013 06:48:03 +0000 (06:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2013 18:33:14 +0000 (13:33 -0500)
commit6bce6b4e16e46cc860175b9e10a283194ef9f004
tree9bb9055ca50358cec29433447fa9c038b1a171af
parentc558e9fca876d6d0463a7c337d2291774b9c6f96
ndisc: Use skb_linearize() instead of pskb_may_pull(skb, skb->len).

Suggested by Eric Dumazet <edumazet@google.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c