OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c69526
)
[DCCP]: One NET_INC_STATS() could be NET_INC_STATS_BH in dccp_v4_err()
author
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Thu, 16 Nov 2006 14:23:58 +0000
(12:23 -0200)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:50 +0000
(21:23 -0800)
Spotted by Eric Dumazet in tcp_v4_rcv().
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/dccp/ipv4.c
patch
|
blob
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index
6bca719
..
a20eb71
100644
(file)
--- a/
net/dccp/ipv4.c
+++ b/
net/dccp/ipv4.c
@@
-244,7
+244,7
@@
static void dccp_v4_err(struct sk_buff *skb, u32 info)
seq = dccp_hdr_seq(skb);
if (sk->sk_state != DCCP_LISTEN &&
!between48(seq, dp->dccps_swl, dp->dccps_swh)) {
- NET_INC_STATS(LINUX_MIB_OUTOFWINDOWICMPS);
+ NET_INC_STATS
_BH
(LINUX_MIB_OUTOFWINDOWICMPS);
goto out;
}