projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2bf1e2
)
[UDP]: Counter increment should be in USER mode for recvmsg
author
Wang Chen
<wangchen@cn.fujitsu.com>
Mon, 3 Dec 2007 11:36:13 +0000
(22:36 +1100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:55:49 +0000
(14:55 -0800)
System calls should be USER. So change the BH to USER for
UDP*_INC_STATS_BH().
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index 5e67e32452999aedbdcbc4b21d32d8063fc62f5a..d0283b7fcec5e52923b7724049dacc9752513e40 100644
(file)
--- a/
net/ipv4/udp.c
+++ b/
net/ipv4/udp.c
@@
-899,7
+899,7
@@
out:
return err;
csum_copy_err:
- UDP_INC_STATS_
BH
(UDP_MIB_INERRORS, is_udplite);
+ UDP_INC_STATS_
USER
(UDP_MIB_INERRORS, is_udplite);
skb_kill_datagram(sk, skb, flags);