diff options
| author | pravin shelar <[email protected]> | 2016-10-28 16:59:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-30 00:56:31 +0000 |
| commit | c6fcc4fc5f8b592600c7409e769ab68da0fb1eca (patch) | |
| tree | 4fafb69c92e2169209dfb66452b7d92e8abfb11c /net/switchdev/switchdev.c | |
| parent | qede: Fix out-of-bound fastpath memory access (diff) | |
| download | kernel-c6fcc4fc5f8b592600c7409e769ab68da0fb1eca.tar.gz kernel-c6fcc4fc5f8b592600c7409e769ab68da0fb1eca.zip | |
vxlan: avoid using stale vxlan socket.
When vxlan device is closed vxlan socket is freed. This
operation can race with vxlan-xmit function which
dereferences vxlan socket. Following patch uses RCU
mechanism to avoid this situation.
Signed-off-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
