[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080806.224411.210555962.davem@davemloft.net>
Date: Wed, 06 Aug 2008 22:44:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: guijianfeng@...fujitsu.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix kernel panic when calling tcp_v(4/6)_md5_do_lookup
From: Gui Jianfeng <guijianfeng@...fujitsu.com>
Date: Thu, 07 Aug 2008 13:12:57 +0800
> If the following packet flow happen, kernel will panic.
> MathineA MathineB
> SYN
> ---------------------->
> SYN+ACK
> <----------------------
> ACK(bad seq)
> ---------------------->
> When a bad seq ACK is received, tcp_v4_md5_do_lookup(skb->sk, ip_hdr(skb)->daddr))
> is finally called by tcp_v4_reqsk_send_ack(), but the first parameter(skb->sk) is
> NULL at that moment, so kernel panic happens.
> This patch fixes this bug.
>
> Below is the OOPS output:
...
> Signed-off-by: Gui Jianfeng <guijianfeng@...fujitsu.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists