ipv6: drop frames with attached skb->sk in forwarding
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Thu, 8 Oct 2015 16:19:53 +0000 (18:19 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 14 Mar 2016 21:03:05 +0000 (17:03 -0400)
commitb014bae072a1dad1767c5c6e7e7b480165685c3e
treebf23bfb5cfb2fb6b84556b5791370b46938456ca
parentb5c41530ef442dba667c4d964c722e8157f7da72
ipv6: drop frames with attached skb->sk in forwarding

[ Upstream commit 9ef2e965e55481a52d6d91ce61977a27836268d3 ]

This is a clone of commit 2ab957492d13b ("ip_forward: Drop frames with
attached skb->sk") for ipv6.

This commit has exactly the same reasons as the above mentioned commit,
namely to prevent panics during netfilter reload or a misconfigured stack.

Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/ipv6/ip6_output.c