diff options
author | 2024-06-20 12:22:41 +0100 | |
---|---|---|
committer | 2024-06-21 11:33:33 +0100 | |
commit | c37e0138ca5f3be6b69c3020470aecb94eb5d773 (patch) | |
tree | 5c722859fe28a05c657b9a1c09a5d099708d3de0 /include/linux/local_lock_internal.h | |
parent | l2tp: refactor udp recv to lookup to not use sk_user_data (diff) | |
download | wireguard-linux-c37e0138ca5f3be6b69c3020470aecb94eb5d773.tar.xz wireguard-linux-c37e0138ca5f3be6b69c3020470aecb94eb5d773.zip |
l2tp: don't use sk_user_data in l2tp_udp_encap_err_recv
If UDP sockets are aliased, sk might be the wrong socket. There's no
benefit to using sk_user_data to do some checks on the associated
tunnel context. Just report the error anyway, like udp core does.
Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/local_lock_internal.h')
0 files changed, 0 insertions, 0 deletions