netdev
[Top] [All Lists]

Re: [PATCH][IPV6] fixed authentication error with TCP

To: Ville Nuorvala <vnuorval@xxxxxxxxxx>
Subject: Re: [PATCH][IPV6] fixed authentication error with TCP
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 18 Aug 2003 03:11:48 -0700
Cc: kuznet@xxxxxxxxxxxxx, kazunori@xxxxxxxxxxxx, netdev@xxxxxxxxxxx, usagi@xxxxxxxxxxxxxx, latten@xxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0308181029560.18400-200000@rhea.tcs.hut.fi>
References: <200308172329.DAA14889@dub.inr.ac.ru> <Pine.LNX.4.44.0308181029560.18400-200000@rhea.tcs.hut.fi>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 18 Aug 2003 10:45:41 +0300 (EEST)
Ville Nuorvala <vnuorval@xxxxxxxxxx> wrote:

> The attached patch reverts to the old ip6_dst_lookup() interface and and
> makes tcp_ipv6.c use that instead.

I applied your patch with a small change, I made it so
that *dst is set to NULL in every case that ip6_dst_lookup()
returned an error.

In particular, there were some error paths still in tcp_ipv6.c
that would dst_release() in the error path which only works if
dst is set to NULL in ip6_dst_lookup() error cases.

<Prev in Thread] Current Thread [Next in Thread>