Re: [PATCH net] sctp: fix the issue that pathmtu may be set lower than MINSEGMENT

2018-07-02 Thread Marcelo Ricardo Leitner
On Mon, Jul 02, 2018 at 07:45:12AM -0400, Neil Horman wrote: > On Mon, Jul 02, 2018 at 02:51:16PM +0800, Xin Long wrote: > > After commit b6c5734db070 ("sctp: fix the handling of ICMP Frag Needed > > for too small MTUs"), sctp_transport_update_pmtu would refetch pathmtu > > from the dst and set it

Re: [PATCH net] sctp: fix the issue that pathmtu may be set lower than MINSEGMENT

2018-07-02 Thread Neil Horman
On Mon, Jul 02, 2018 at 02:51:16PM +0800, Xin Long wrote: > After commit b6c5734db070 ("sctp: fix the handling of ICMP Frag Needed > for too small MTUs"), sctp_transport_update_pmtu would refetch pathmtu > from the dst and set it to transport's pathmtu without any check. > > The new pathmtu may be

[PATCH net] sctp: fix the issue that pathmtu may be set lower than MINSEGMENT

2018-07-01 Thread Xin Long
After commit b6c5734db070 ("sctp: fix the handling of ICMP Frag Needed for too small MTUs"), sctp_transport_update_pmtu would refetch pathmtu from the dst and set it to transport's pathmtu without any check. The new pathmtu may be lower than MINSEGMENT if the dst is obsolete and updated by .get_ds