From 8f06ab897509817585a4e7734a139bc4d70296b7 Mon Sep 17 00:00:00 2001 From: Gerrit Renker Date: Wed, 24 Oct 2007 10:18:06 -0200 Subject: [PATCH] --- yaml --- r: 72610 b: refs/heads/master c: 1238d0873b29f7a2de75d576b4cc706c1c75ffbf h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/dccp/ipv4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 793853e5aca8..fa1c4994ea75 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fde20105f332614b23a3131d706cd90bdd7db72d +refs/heads/master: 1238d0873b29f7a2de75d576b4cc706c1c75ffbf diff --git a/trunk/net/dccp/ipv4.c b/trunk/net/dccp/ipv4.c index 3f1578db93e8..01a6a808bdb7 100644 --- a/trunk/net/dccp/ipv4.c +++ b/trunk/net/dccp/ipv4.c @@ -242,7 +242,7 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info) dp = dccp_sk(sk); seq = dccp_hdr_seq(dh); - if (sk->sk_state != DCCP_LISTEN && + if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_LISTEN) && !between48(seq, dp->dccps_swl, dp->dccps_swh)) { NET_INC_STATS_BH(LINUX_MIB_OUTOFWINDOWICMPS); goto out;