diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-11-16 09:23:58 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:23:50 -0500 |
commit | e523a1550e877f8a8ff87a50269b7ee7bfb43464 (patch) | |
tree | 5450113bb3e5994bac06722f1ef39631fc6129e7 /net/dccp | |
parent | 3c6952624a8f600f9a0fbc1f5db5560a7ef9b13e (diff) |
[DCCP]: One NET_INC_STATS() could be NET_INC_STATS_BH in dccp_v4_err()
Spotted by Eric Dumazet in tcp_v4_rcv().
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 6bca71929de5..a20eb71d45db 100644 --- 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) | |||
244 | seq = dccp_hdr_seq(skb); | 244 | seq = dccp_hdr_seq(skb); |
245 | if (sk->sk_state != DCCP_LISTEN && | 245 | if (sk->sk_state != DCCP_LISTEN && |
246 | !between48(seq, dp->dccps_swl, dp->dccps_swh)) { | 246 | !between48(seq, dp->dccps_swl, dp->dccps_swh)) { |
247 | NET_INC_STATS(LINUX_MIB_OUTOFWINDOWICMPS); | 247 | NET_INC_STATS_BH(LINUX_MIB_OUTOFWINDOWICMPS); |
248 | goto out; | 248 | goto out; |
249 | } | 249 | } |
250 | 250 | ||