On Wed, Jun 12, 2019 at 10:30:58AM +0200, Florian Westphal wrote:
> 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
>
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
Fixes: 4c203b0454b ("xfrm: remove eth_proto value from xfrm_state_afinfo")
Signed-