summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2015-12-15 21:01:53 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-16 19:03:02 -0500
commit3036facbb7be3a169e35be3b271162b0fa564a2d (patch)
treeff2025b940b458bed6abce9963f980710f3ef93c /kernel
parent4d4f37910b8a120e9cf5a436256db84295437ac7 (diff)
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 <tom@herbertland.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions