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
..
2017-01-12 04:01:17 -05:00
2014-09-18 10:54:36 +02:00
2017-02-07 13:07:46 -05:00
2015-06-28 16:55:44 -07:00
2016-06-27 15:06:17 -04:00
2016-07-08 12:20:57 +02:00
2016-04-25 16:44:27 -04:00
2016-04-25 16:44:27 -04:00
2016-06-09 23:41:03 -07:00
2015-03-06 21:50:02 -05:00
2015-09-17 17:18:37 -07:00
2016-02-16 20:21:48 -05:00
2017-01-11 11:02:47 -05:00
2016-05-20 18:03:16 -04:00
2016-04-27 22:48:25 -04:00
2017-02-03 15:16:45 -05:00
2016-08-17 19:36:23 -04:00
2015-10-23 06:26:42 -07:00
2016-10-03 02:00:22 -04:00
2016-10-04 02:11:51 -04:00
2016-07-08 12:20:57 +02:00
2016-03-23 22:09:58 -04:00
2017-02-17 12:08:05 -05:00
2016-04-07 16:53:30 -04:00
2016-12-25 17:21:22 +01:00
2017-01-09 16:07:41 -05:00
2015-03-12 22:58:12 -04:00
2017-01-25 14:04:38 -05:00
2016-05-03 16:08:14 -04:00
2015-10-26 22:24:22 -07:00
2017-02-15 11:04:11 +01:00