Revert "sctp: remove sctp_transport_pmtu_check"
authorXin Long <lucien.xin@gmail.com>
Sun, 18 Nov 2018 08:14:47 +0000 (16:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Nov 2018 20:42:47 +0000 (12:42 -0800)
commit69fec325a64383667b8a35df5d48d6ce52fb2782
tree4d0a66f010fc1ce454530fc99e1c0f767010f3c2
parentcc3ccf26f0649089b3a34a2781977755ea36e72c
Revert "sctp: remove sctp_transport_pmtu_check"

This reverts commit 22d7be267eaa8114dcc28d66c1c347f667d7878a.

The dst's mtu in transport can be updated by a non sctp place like
in xfrm where the MTU information didn't get synced between asoc,
transport and dst, so it is still needed to do the pmtu check
in sctp_packet_config.

Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/sctp/output.c