Re: [PATCH net-next 12/15] sctp: call sk_setup_caps in sctp_packet_transmit instead

2020-10-03 Thread Xin Long
On Sat, Oct 3, 2020 at 12:09 PM Marcelo Ricardo Leitner wrote: > > On Tue, Sep 29, 2020 at 09:49:04PM +0800, Xin Long wrote: > > sk_setup_caps() was originally called in Commit 90017accff61 ("sctp: > > Add GSO support"), as: > > > > "We have to refresh this in case we are xmiting to more than on

Re: [PATCH net-next 12/15] sctp: call sk_setup_caps in sctp_packet_transmit instead

2020-10-02 Thread Marcelo Ricardo Leitner
On Tue, Sep 29, 2020 at 09:49:04PM +0800, Xin Long wrote: > sk_setup_caps() was originally called in Commit 90017accff61 ("sctp: > Add GSO support"), as: > > "We have to refresh this in case we are xmiting to more than one >transport at a time" > > This actually happens in the loop of sctp_

[PATCH net-next 12/15] sctp: call sk_setup_caps in sctp_packet_transmit instead

2020-09-29 Thread Xin Long
sk_setup_caps() was originally called in Commit 90017accff61 ("sctp: Add GSO support"), as: "We have to refresh this in case we are xmiting to more than one transport at a time" This actually happens in the loop of sctp_outq_flush_transports(), and it shouldn't be gso related, so move it out