sctp: check cached dst before using it
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 4 May 2012 05:24:54 +0000 (05:24 +0000)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 May 2012 10:39:06 +0000 (15:39 +0530)
commitb98b34d2d9279a246d60c00df6adadb830a0f43f
treea53cbdf2e8a0af10d88939fd660cdef5af1889e6
parentc0ab6e3d90b083b6d87625da7048d525890dc12e
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