diff options
| author | Hannes Frederic Sowa <[email protected]> | 2015-12-15 20:01:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-17 00:03:02 +0000 |
| commit | 3036facbb7be3a169e35be3b271162b0fa564a2d (patch) | |
| tree | ff2025b940b458bed6abce9963f980710f3ef93c /net/unix/af_unix.c | |
| parent | Merge tag 'mac80211-for-davem-2015-12-15' of git://git.kernel.org/pub/scm/lin... (diff) | |
| download | kernel-3036facbb7be3a169e35be3b271162b0fa564a2d.tar.gz kernel-3036facbb7be3a169e35be3b271162b0fa564a2d.zip | |
fou: clean up socket with kfree_rcu
fou->udp_offloads is managed by RCU. As it is actually included inside
the fou sockets, we cannot let the memory go out of scope before a grace
period. We either can synchronize_rcu or switch over to kfree_rcu to
manage the sockets. kfree_rcu seems appropriate as it is used by vxlan
and geneve.
Fixes: 23461551c00628c ("fou: Support for foo-over-udp RX path")
Cc: Tom Herbert <[email protected]>
Signed-off-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
