Re: [PATCH net] vti6: fix input path

2016-09-21 Thread Steffen Klassert
On Mon, Sep 19, 2016 at 04:17:57PM +0200, Nicolas Dichtel wrote: > Since commit 1625f4529957, vti6 is broken, all input packets are dropped > (LINUX_MIB_XFRMINNOSTATES is incremented). > > XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 is set by vti6_rcv() before calling > xfrm6_rcv()/xfrm6_rcv_spi(), thus w

[PATCH net] vti6: fix input path

2016-09-19 Thread Nicolas Dichtel
Since commit 1625f4529957, vti6 is broken, all input packets are dropped (LINUX_MIB_XFRMINNOSTATES is incremented). XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 is set by vti6_rcv() before calling xfrm6_rcv()/xfrm6_rcv_spi(), thus we cannot set to NULL that value in xfrm6_rcv_spi(). A new function xfrm6_r