ipv6: mip6: fix mip6_mh_filter()
authorEric Dumazet <edumazet@google.com>
Tue, 25 Sep 2012 20:01:28 +0000 (22:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Sep 2012 20:04:44 +0000 (16:04 -0400)
commit96af69ea2a83d292238bdba20e4508ee967cf8cb
treebea3edef18f4817519b1084efd6e66c62d9a4f31
parent78cc88c408675a7cc42e6d7402c9d90080e0b841
ipv6: mip6: fix mip6_mh_filter()

mip6_mh_filter() should not modify its input, or else its caller
would need to recompute ipv6_hdr() if skb->head is reallocated.

Use skb_header_pointer() instead of pskb_may_pull()

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