summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-09-25 07:03:40 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-25 13:21:49 -0400
commit1b05c4b50edbddbdde715c4a7350629819f6655e (patch)
tree007a32df4a36fa13c5dca1860595b1b3f6ff65e3 /Makefile
parent41e268565a1f597b3d8f37d8075e6be7e40fd8f9 (diff)
downloadop-kernel-dev-1b05c4b50edbddbdde715c4a7350629819f6655e.zip
op-kernel-dev-1b05c4b50edbddbdde715c4a7350629819f6655e.tar.gz
ipv6: raw: fix icmpv6_filter()
icmpv6_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() and change the prototype to make clear both sk and skb are const. Also, if icmpv6 header cannot be found, do not deliver the packet, as we do in IPv4. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud