sctp: check cached dst before using it
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 4 May 2012 05:24:54 +0000 (05:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 03:15:47 +0000 (23:15 -0400)
commite0268868ba064980488fc8c194db3d8e9fb2959c
tree7b8bfb4cceb0a5d184a2fe651aab5aec59a216d3
parentc57b54684060c8aced64a5b78ff69ff289af97b9
sctp: check cached dst before using it

dst_check() will take care of SA (and obsolete field), hence
IPsec rekeying scenario is taken into account.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Vlad Yaseivch <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/sctp/output.c
net/sctp/transport.c