]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa2e52b9667136e409daf0bfd1b44b5d9c1610c9
tree4d0a66f010fc1ce454530fc99e1c0f767010f3c2
parentf664eba1996b076e542bcea145673297d8341303
Revert "sctp: remove sctp_transport_pmtu_check"

This reverts commit 62acf873204a5e277d5ec1902b6b02d685910311.

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