diff options
| author | pravin shelar <[email protected]> | 2016-10-28 16:59:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-30 00:56:31 +0000 |
| commit | fceb9c3e38252992bbf1a3028cc2f7b871211533 (patch) | |
| tree | 000b9e33ea52a048943fbb7c243fc461733f3ccb /net/switchdev/switchdev.c | |
| parent | vxlan: avoid using stale vxlan socket. (diff) | |
| download | kernel-fceb9c3e38252992bbf1a3028cc2f7b871211533.tar.gz kernel-fceb9c3e38252992bbf1a3028cc2f7b871211533.zip | |
geneve: avoid using stale geneve socket.
This patch is similar to earlier vxlan patch.
Geneve device close operation frees geneve socket. This
operation can race with geneve-xmit function which
dereferences geneve socket. Following patch uses RCU
mechanism to avoid this situation.
Signed-off-by: Pravin B Shelar <[email protected]>
Acked-by: John W. Linville <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
