[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150621.093126.1239806258533239115.davem@davemloft.net>
Date: Sun, 21 Jun 2015 09:31:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: willemb@...gle.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com
Subject: Re: [PATCH net-next] packet: free packet_rollover after
synchronize_net
From: Willem de Bruijn <willemb@...gle.com>
Date: Tue, 16 Jun 2015 12:51:37 -0400
> From: Willem de Bruijn <willemb@...gle.com>
>
> 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: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Applied, thanks Willem.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
Powered by blists - more mailing lists