summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_interface.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-06-12 11:30:58 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2019-06-12 12:01:56 +0300
commit1be451d993170d6933c8aa5d80585595f149805f (patch)
tree8c5fae04582930c180bc9373d18b54c96c97339e /net/xfrm/xfrm_interface.c
parent4f518e802ccad30c9dccc895f2294398757b87c0 (diff)
downloadlinux-1be451d993170d6933c8aa5d80585595f149805f.tar.xz
xfrm: fix bogus WARN_ON with ipv6
net/xfrm/xfrm_input.c:378:17: warning: this statement may fall through [-Wimplicit-fallthrough=] skb->protocol = htons(ETH_P_IPV6); ... the fallthrough then causes a bogus WARN_ON(). Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 4c203b0454b ("xfrm: remove eth_proto value from xfrm_state_afinfo") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_interface.c')
0 files changed, 0 insertions, 0 deletions