Re: [PATCH net-next] packet: free packet_rollover after synchronize_net

2015-06-21 Thread David Miller
From: Willem de Bruijn Date: Tue, 16 Jun 2015 12:51:37 -0400 > From: Willem de Bruijn > > Destruction of the po->rollover must be delayed until there are no > more packets in flight that can access it. The field is destroyed in > packet_release, before synchronize_net. Delay using rcu. > > Fix

Re: [PATCH net-next] packet: free packet_rollover after synchronize_net

2015-06-16 Thread Eric Dumazet
On Tue, 2015-06-16 at 12:51 -0400, Willem de Bruijn wrote: > From: Willem de Bruijn > > Destruction of the po->rollover must be delayed until there are no > more packets in flight that can access it. The field is destroyed in > packet_release, before synchronize_net. Delay using rcu. > > Fixes:

[PATCH net-next] packet: free packet_rollover after synchronize_net

2015-06-16 Thread Willem de Bruijn
From: Willem de Bruijn Destruction of the po->rollover must be delayed until there are no more packets in flight that can access it. The field is destroyed in packet_release, before synchronize_net. Delay using rcu. Fixes: 0648ab70afe6 ("packet: rollover prepare: per-socket state") Suggested-by