Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 0648ab7 ("packet: rollover prepare: per-socket state") Suggested-by: Eric Dumazet <[email protected]> Signed-off-by: Willem de Bruijn <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information