提交 e523a155 编写于 作者: A Arnaldo Carvalho de Melo 提交者: David S. Miller

[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: NArnaldo Carvalho de Melo <acme@mandriva.com>
上级 3c695262
...@@ -244,7 +244,7 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info) ...@@ -244,7 +244,7 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info)
seq = dccp_hdr_seq(skb); seq = dccp_hdr_seq(skb);
if (sk->sk_state != DCCP_LISTEN && if (sk->sk_state != DCCP_LISTEN &&
!between48(seq, dp->dccps_swl, dp->dccps_swh)) { !between48(seq, dp->dccps_swl, dp->dccps_swh)) {
NET_INC_STATS(LINUX_MIB_OUTOFWINDOWICMPS); NET_INC_STATS_BH(LINUX_MIB_OUTOFWINDOWICMPS);
goto out; goto out;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册