Re: [PATCH net] Revert "sctp: remove sctp_transport_pmtu_check"

2018-11-19 Thread David Miller
From: Xin Long Date: Sun, 18 Nov 2018 16:14:47 +0800 > 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

Re: [PATCH net] Revert "sctp: remove sctp_transport_pmtu_check"

2018-11-19 Thread Neil Horman
On Sun, Nov 18, 2018 at 04:14:47PM +0800, Xin Long wrote: > 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

[PATCH net] Revert "sctp: remove sctp_transport_pmtu_check"

2018-11-18 Thread Xin Long
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. ---