From: [EMAIL PROTECTED] (Eric W. Biederman)
Date: Wed, 25 Jan 2006 13:08:53 -0700

> Analysis:
> Currently tcp_v6_send_synack is never called with a dst entry
> so dst always comes in as NULL.
> 
> ip6_dst_lookup calls ip6_route_output which calls dst_hold
> before it returns the dst entry.   Neither xfrm_lookup
> nor tcp_make_synack consume the dst entry so we still have
> a dst_entry with a bumped refrence count at the end of
> this function.
> 
> Therefore we need to call dst_release just before we return
> just like tcp_v4_send_synack does.
> 
> Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>

Applied, and I actually took care of the DCCP IPV6 case of
this bug as well, since the DCCP code was simply copy&pasted
from the TCP ipv6 stuff you are fixing here.

Thanks a lot.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to