sctp: check cached dst before using it
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 4 May 2012 05:24:54 +0000 (05:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:33:03 +0000 (00:33 +0900)
commit337c934a55a7956bcd349b6f56c6add58d2550f3
treeee3ed2f6e1bcf5af28310eb3e4b14fd2a43794a7
parent83bba7979059b83df4edc16f747784c6990fc3bb
sctp: check cached dst before using it

[ Upstream commit e0268868ba064980488fc8c194db3d8e9fb2959c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/sctp/sctp.h
net/sctp/output.c
net/sctp/transport.c