diff options
| author | Eric Dumazet <[email protected]> | 2013-12-15 18:53:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-12-17 19:50:58 +0000 |
| commit | e47eb5dfb296bf217e9ebee7b2f07486670b9c1b (patch) | |
| tree | cad273de648996d679f3cbfba678b84ff14f40b7 /net/unix/af_unix.c | |
| parent | netvsc: don't flush peers notifying work during setting mtu (diff) | |
| download | kernel-e47eb5dfb296bf217e9ebee7b2f07486670b9c1b.tar.gz kernel-e47eb5dfb296bf217e9ebee7b2f07486670b9c1b.zip | |
udp: ipv4: do not use sk_dst_lock from softirq context
Using sk_dst_lock from softirq context is not supported right now.
Instead of adding BH protection everywhere,
udp_sk_rx_dst_set() can instead use xchg(), as suggested
by David.
Reported-by: Fengguang Wu <[email protected]>
Fixes: 975022310233 ("udp: ipv4: must add synchronization in udp_sk_rx_dst_set()")
Signed-off-by: Eric Dumazet <[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
