Re: [PATCH 4.14 43/43] tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb

From: gregkh@xxxxxxxxxxxxxxxxxxx
Date: Fri Aug 02 2019 - 03:28:38 EST


On Thu, Aug 01, 2019 at 10:17:30AM +0000, Rantala, Tommi T. (Nokia - FI/Espoo) wrote:
> On Tue, 2019-07-02 at 10:02 +0200, Greg Kroah-Hartman wrote:
> > From: Xin Long <lucien.xin@xxxxxxxxx>
> >
> > commit c3bcde026684c62d7a2b6f626dc7cf763833875c upstream.
> >
> > udp_tunnel(6)_xmit_skb() called by tipc_udp_xmit() expects a tunnel
> > device
> > to count packets on dev->tstats, a perpcu variable. However, TIPC is
> > using
> > udp tunnel with no tunnel device, and pass the lower dev, like veth
> > device
> > that only initializes dev->lstats(a perpcu variable) when creating
> > it.
>
> Hi,
>
> This tipc patch added in 4.14.132 is triggering a crash for me, revert
> fixes it.
>
> Anyone have ideas if some other commits missing in 4.14.x to make this
> work...?

Do you also hav a problem with 4.19.y? How about 5.2.y? If not, can
you do 'git bisect' to find the patch that fixes the issue?

thanks,

greg k-h