Xin Long 3ebfdf0821 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>
2017-04-05 07:20:06 -07:00
..
2016-12-29 14:44:03 -05:00
2016-09-22 03:13:26 -04:00
2016-04-15 17:29:36 -04:00
2017-01-18 14:55:10 -05:00
2017-04-01 20:12:30 -07:00
2017-02-19 18:17:59 -05:00
2013-12-06 12:37:56 -05:00