[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200810011306.15745.vgusev@openvz.org>
Date: Wed, 1 Oct 2008 13:06:15 +0400
From: Vitaliy Gusev <vgusev@...nvz.org>
To: David Miller <davem@...emloft.net>
Cc: den@...nvz.org, xemul@...nvz.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-2.6] ip: NULL pointer dereferrence in tcp_v(4|6)_send_ack
On 1 October 2008 12:52:46 David Miller wrote:
> From: "Denis V. Lunev" <den@...nvz.org>
> Date: Tue, 30 Sep 2008 20:29:11 +0400
>
> > The following actions are possible:
> > tcp_v4_rcv
> > skb->dev = NULL;
> > tcp_v4_do_rcv
> > tcp_v4_hnd_req
> > tcp_check_req
> > req->rsk_ops->send_ack == tcp_v4_send_ack
> >
> > So, skb->dev can be NULL in tcp_v4_send_ack. We must obtain namespace
> > from dst entry. IPv6 codepath is similar.
> >
> > Thanks to Vitaliy Gusev <vgusev@...nvz.org> for initial oops decoding.
> >
> > Signed-off-by: Denis V. Lunev <den@...nvz.org>
>
> Vitaliy sent the same patch first, so I applied his copy :-)
Den's patch is not the same. My patch didn't fix IPv6 code.
>
> Thanks everyone.
> --
> 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
>
--
Thank,
Vitaliy Gusev
--
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