diff options
author | 2017-04-04 13:39:55 +0800 | |
---|---|---|
committer | 2017-04-05 07:20:06 -0700 | |
commit | 3ebfdf082184d04f6e73b30cd9446613dc7f8c02 (patch) | |
tree | 363997b3262abfcec1b85cc1652fca6fbfb2eda7 /net/unix/af_unix.c | |
parent | Merge tag 'wireless-drivers-for-davem-2017-04-03' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers (diff) | |
download | wireguard-linux-3ebfdf082184d04f6e73b30cd9446613dc7f8c02.tar.xz wireguard-linux-3ebfdf082184d04f6e73b30cd9446613dc7f8c02.zip |
sctp: get sock from transport in sctp_transport_update_pmtu
This patch is almost to revert commit 02f3d4ce9e81 ("sctp: Adjust PMTU
updates to accomodate route invalidation."). As t->asoc can't be NULL
in sctp_transport_update_pmtu, it could get sk from asoc, and no need
to pass sk into that function.
It is also to remove some duplicated codes from that function.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions