Files
linux/drivers
Antonio Quartulli 930faf1eb8 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: ab66abbc76 ("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>
2025-06-03 13:08:14 +02:00
..
2025-04-22 16:06:05 +09:00
2025-04-11 17:32:38 -07:00
2025-05-19 14:26:54 +02:00
2025-06-03 13:08:14 +02:00
2025-05-19 15:37:53 +05:30
2025-05-16 21:06:11 +02:00
2025-05-06 12:59:12 -06:00
2025-04-18 10:05:49 -04:00