[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130802.123654.1065502694669483211.davem@davemloft.net>
Date: Fri, 02 Aug 2013 12:36:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vyasevich@...il.com
Cc: fan.du@...driver.com, nhorman@...driver.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] sctp: Don't lookup dst if transport dst is
still valid
From: Vlad Yasevich <vyasevich@...il.com>
Date: Fri, 02 Aug 2013 10:57:14 -0400
> On 08/01/2013 10:45 PM, Fan Du wrote:
>> When sctp sits on IPv6, sctp_transport_dst_check pass cookie as ZERO,
>> as a result ip6_dst_check always fail out. This behaviour makes
>> transport->dst useless, because every sctp_packet_transmit must look
>> for valid dst.
>>
>> Add a dst_cookie into sctp_transport, and set the cookie whenever we
>> get new dst for sctp_transport. So dst validness could be checked
>> against it.
>>
>> Since I have split genid for IPv4 and IPv6, also delete/add IPv6
>> address
>> will also bump IPv6 genid. So issues we discussed in:
>> http://marc.info/?l=linux-netdev&m=137404469219410&w=4
>> have all been sloved for this patch.
>>
>> Signed-off-by: Fan Du <fan.du@...driver.com>
>
> Acked-by: Vlad Yasevich <vyasevich@...il.com>
Applied.
--
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