diff options
author | Willem de Bruijn <willemb@google.com> | 2015-06-16 12:51:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-21 09:30:42 -0700 |
commit | 59f211181b5b10d4a95e1b9226febb0c0b6497c6 (patch) | |
tree | 2f9ee4c3d1c9687d50b179fe63650ce55ac8daf4 /net/rfkill | |
parent | 120119623b6798b70384248c0cacf8f8de419c9a (diff) | |
download | linux-59f211181b5b10d4a95e1b9226febb0c0b6497c6.tar.bz2 |
packet: free packet_rollover after synchronize_net
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@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions