linux/include/net/sctp
fan.du d27fc78208 sctp: Don't lookup dst if transport dst is still valid
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@windriver.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-02 12:36:00 -07:00
..
auth.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
checksum.h net/sctp: Refactor SCTP skb checksum computation 2013-07-27 20:07:15 -07:00
command.h sctp: Clean up type-punning in sctp_cmd_t union 2012-11-03 14:54:55 -04:00
constants.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
sctp.h sctp: Don't lookup dst if transport dst is still valid 2013-08-02 12:36:00 -07:00
sm.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
structs.h sctp: Don't lookup dst if transport dst is still valid 2013-08-02 12:36:00 -07:00
tsnmap.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
ulpevent.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
ulpqueue.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00