aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-09-25 07:03:40 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-13 05:28:07 +0900
commit27ab68c347da3242fc9f98bea187946e444a5f75 (patch)
tree6288e55d48f8d8e799902add7a51990ccbe96b3d /virt
parenta1b995a2f5c69ae3088b153ed5d095561ded6eb4 (diff)
downloadkernel_samsung_tuna-27ab68c347da3242fc9f98bea187946e444a5f75.zip
kernel_samsung_tuna-27ab68c347da3242fc9f98bea187946e444a5f75.tar.gz
kernel_samsung_tuna-27ab68c347da3242fc9f98bea187946e444a5f75.tar.bz2
ipv6: raw: fix icmpv6_filter()
[ Upstream commit 1b05c4b50edbddbdde715c4a7350629819f6655e ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions