aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorFrancesco Ruggeri <[email protected]>2022-04-20 17:50:26 -0700
committerJakub Kicinski <[email protected]>2022-04-22 15:05:59 -0700
commit5b0b9e4c2c895227c8852488b3f09839233bba54 (patch)
tree5cc61d7a40e5334b5823cd5815d38420e2129928 /lib/netdev-notifier-error-inject.c
parentfc06b2867f4cea543505acfb194c2be4ebf0c7d3 (diff)
tcp: md5: incorrect tcp_header_len for incoming connections
In tcp_create_openreq_child we adjust tcp_header_len for md5 using the remote address in newsk. But that address is still 0 in newsk at this point, and it is only set later by the callers (tcp_v[46]_syn_recv_sock). Use the address from the request socket instead. Fixes: cfb6eeb4c860 ("[TCP]: MD5 Signature Option (RFC2385) support.") Signed-off-by: Francesco Ruggeri <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions