Re: [PATCH net] : add a missing rcu synchronization

2016-11-16 Thread Eric Dumazet
On Wed, 2016-11-16 at 23:31 -0500, David Miller wrote: > From: Eric Dumazet > Date: Wed, 16 Nov 2016 06:31:52 -0800 > > > From: Eric Dumazet > > > > Add a missing synchronize_net() call to avoid potential use after free, > > since we explicitly call napi_hash_del() to factorize the RCU grace >

Re: [PATCH net] : add a missing rcu synchronization

2016-11-16 Thread David Miller
From: Eric Dumazet Date: Wed, 16 Nov 2016 06:31:52 -0800 > From: Eric Dumazet > > Add a missing synchronize_net() call to avoid potential use after free, > since we explicitly call napi_hash_del() to factorize the RCU grace > period. > > Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet dri

Re: [PATCH net] : add a missing rcu synchronization

2016-11-16 Thread Michael Chan
On Wed, Nov 16, 2016 at 6:31 AM, Eric Dumazet wrote: > From: Eric Dumazet > > Add a missing synchronize_net() call to avoid potential use after free, > since we explicitly call napi_hash_del() to factorize the RCU grace > period. > > Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")

[PATCH net] : add a missing rcu synchronization

2016-11-16 Thread Eric Dumazet
From: Eric Dumazet Add a missing synchronize_net() call to avoid potential use after free, since we explicitly call napi_hash_del() to factorize the RCU grace period. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Signed-off-by: Eric Dumazet Cc: Michael Chan --- drivers/net/et