diff options
author | Eric Dumazet <edumazet@google.com> | 2013-12-15 10:53:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-17 14:50:58 -0500 |
commit | e47eb5dfb296bf217e9ebee7b2f07486670b9c1b (patch) | |
tree | cad273de648996d679f3cbfba678b84ff14f40b7 /virt | |
parent | 50dc875f2e6e2e04aed3b3033eb0ac99192d6d02 (diff) | |
download | op-kernel-dev-e47eb5dfb296bf217e9ebee7b2f07486670b9c1b.zip op-kernel-dev-e47eb5dfb296bf217e9ebee7b2f07486670b9c1b.tar.gz |
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 <fengguang.wu@intel.com>
Fixes: 975022310233 ("udp: ipv4: must add synchronization in udp_sk_rx_dst_set()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions