diff options
| author | Antonio Quartulli <[email protected]> | 2025-05-13 14:43:59 +0000 |
|---|---|---|
| committer | Antonio Quartulli <[email protected]> | 2025-06-03 11:08:14 +0000 |
| commit | 930faf1eb8d70226ac804b61e5cd79b17fb3261d (patch) | |
| tree | dd6a96c5290faecc3a9126073197dbaf2a097115 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/... (diff) | |
| download | kernel-930faf1eb8d70226ac804b61e5cd79b17fb3261d.tar.gz kernel-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 <[email protected]>
Cc: Oleksandr Natalenko <[email protected]>
Fixes: ab66abbc769b ("ovpn: implement basic RX path (UDP)")
Reported-by: Paolo Abeni <[email protected]>
Closes: https://lore.kernel.org/netdev/[email protected]
Signed-off-by: Antonio Quartulli <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
