mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
[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>
This commit is contained in:
parent
3c6952624a
commit
e523a1550e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user