diff options
author | 2025-05-13 16:43:59 +0200 | |
---|---|---|
committer | 2025-06-03 13:08:14 +0200 | |
commit | 930faf1eb8d70226ac804b61e5cd79b17fb3261d (patch) | |
tree | dd6a96c5290faecc3a9126073197dbaf2a097115 /scripts/lib/kdoc/kdoc_output.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-930faf1eb8d70226ac804b61e5cd79b17fb3261d.tar.xz wireguard-linux-930faf1eb8d70226ac804b61e5cd79b17fb3261d.zip |
ovpn: properly deconfigure UDP-tunnel
When deconfiguring a UDP-tunnel from a socket, we cannot
call setup_udp_tunnel_sock() with an empty config, because
this helper is expected to be invoked only during setup.
Get rid of the call to setup_udp_tunnel_sock() and just
revert what it did during socket initialization..
Note that the global udp_encap_needed_key and the GRO state
are left untouched: udp_destroy_socket() will eventually
take care of them.
Cc: Sabrina Dubroca <sd@queasysnail.net>
Cc: Oleksandr Natalenko <oleksandr@natalenko.name>
Fixes: ab66abbc769b ("ovpn: implement basic RX path (UDP)")
Reported-by: Paolo Abeni <pabeni@redhat.com>
Closes: https://lore.kernel.org/netdev/1a47ce02-fd42-4761-8697-f3f315011cc6@redhat.com
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions