summaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2020-10-29 08:05:05 +0100
committerJakub Kicinski <kuba@kernel.org>2020-10-30 23:24:25 +0100
commitbcd623d8e9fa5f82bbd8cd464dc418d24139157b (patch)
treeca32b6424a9444acfb2ef27e4b78b3bf6b8f7647 /net/sctp/protocol.c
parentsctp: add udphdr to overhead when udp_port is set (diff)
downloadlinux-bcd623d8e9fa5f82bbd8cd464dc418d24139157b.tar.xz
linux-bcd623d8e9fa5f82bbd8cd464dc418d24139157b.zip
sctp: call sk_setup_caps in sctp_packet_transmit instead
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 tied to gso, so move it out of gso part and before sctp_packet_pack(). Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions