projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8203efb
)
udp: udp_get_next() should use spin_unlock_bh()
author
Eric Dumazet
<dada1@cosmosbay.com>
Wed, 29 Oct 2008 18:19:11 +0000
(11:19 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 29 Oct 2008 18:19:11 +0000
(11:19 -0700)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index 5ba03401b914af19ff249108a0adbc2bf243203c..ced820318f946727b1211da7abcef828fbd488df 100644
(file)
--- a/
net/ipv4/udp.c
+++ b/
net/ipv4/udp.c
@@
-1579,7
+1579,7
@@
static struct sock *udp_get_next(struct seq_file *seq, struct sock *sk)
} while (sk && (!net_eq(sock_net(sk), net) || sk->sk_family != state->family));
if (!sk) {
- spin_unlock(&state->udp_table->hash[state->bucket].lock);
+ spin_unlock
_bh
(&state->udp_table->hash[state->bucket].lock);
return udp_get_first(seq, state->bucket + 1);
}
return sk;