Re: [PATCH net] tun: properly test for IFF_UP

2019-03-16 Thread Eric Dumazet
On 03/14/2019 08:19 PM, Eric Dumazet wrote: > Same reasons than the ones explained in commit 4179cb5a4c92 > ("vxlan: test dev->flags & IFF_UP before calling netif_rx()") > > netif_rx_ni() or napi_gro_frags() must be called under a strict contract. > > At device dismantle phase, core networking

Re: [PATCH net] tun: properly test for IFF_UP

2019-03-15 Thread David Miller
From: Eric Dumazet Date: Thu, 14 Mar 2019 20:19:47 -0700 > Same reasons than the ones explained in commit 4179cb5a4c92 > ("vxlan: test dev->flags & IFF_UP before calling netif_rx()") > > netif_rx_ni() or napi_gro_frags() must be called under a strict contract. > > At device dismantle phase, cor

[PATCH net] tun: properly test for IFF_UP

2019-03-14 Thread Eric Dumazet
Same reasons than the ones explained in commit 4179cb5a4c92 ("vxlan: test dev->flags & IFF_UP before calling netif_rx()") netif_rx_ni() or napi_gro_frags() must be called under a strict contract. At device dismantle phase, core networking clears IFF_UP and flush_all_backlogs() is called after rcu