diff options
| author | Xin Long <lucien.xin@gmail.com> | 2026-04-12 14:13:51 -0400 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-13 16:49:37 -0700 |
| commit | bf6f95ae3b8b2638c0e1d6d802d50983ce5d0f45 (patch) | |
| tree | 06e1f77abcf46c9b458afa68b7d8cc2933765ac9 /include/asm-mips/ip32/git@git.tavy.me:linux.git | |
| parent | 8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce (diff) | |
sctp: fix missing encap_port propagation for GSO fragments
encap_port in SCTP_INPUT_CB(skb) is used by sctp_vtag_verify() for
SCTP-over-UDP processing. In the GSO case, it is only set on the head
skb, while fragment skbs leave it 0.
This results in fragment skbs seeing encap_port == 0, breaking
SCTP-over-UDP connections.
Fix it by propagating encap_port from the head skb cb when initializing
fragment skbs in sctp_inq_pop().
Fixes: 046c052b475e ("sctp: enable udp tunneling socks")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Link: https://patch.msgid.link/ea65ed61b3598d8b4940f0170b9aa1762307e6c3.1776017631.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/asm-mips/ip32/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
