Messages in this thread | | | Date | Wed, 06 Aug 2008 22:44:11 -0700 (PDT) | Subject | Re: [PATCH] Fix kernel panic when calling tcp_v(4/6)_md5_do_lookup | From | David Miller <> |
| |
From: Gui Jianfeng <guijianfeng@cn.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@cn.fujitsu.com>
Applied, thanks.
| |