system-linux: fix deletion of ip tunnels (FS#4058) openwrt-21.02
authorHans Dedecker <dedeckeh@gmail.com>
Sat, 9 Oct 2021 19:14:59 +0000 (21:14 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 17 Nov 2021 19:37:29 +0000 (20:37 +0100)
commita68e80513abb73cc76b94b5d70d0813344fa7cd7
tree9c6cf69c477c492e096df754721a59ea6b0b49ce
parent440eb0647708274cc8d7d9e7c2bb0cfdfba90023
system-linux: fix deletion of ip tunnels (FS#4058)

The deletion of IP tunnels via the ioctl interface is broken; instead of
fixing the ioctl interface switch to the netlink based interface to delete
IP tunnel devices as this simplifies and unifies the code

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(cherry picked from commit 8f82742ca4f47f459284f3a07323d04da72ea5f6)
system-dummy.c
system-linux.c
system.h
tunnel.c