]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tun: Decouple vnet from tun_struct
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Fri, 7 Feb 2025 06:10:53 +0000 (15:10 +0900)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Feb 2025 03:07:10 +0000 (19:07 -0800)
commit60df67b94804b1adca74854db502a72f7aeaa125
treeb8159b44f3e490a1e355d9c6e1e7d07b98d16d4b
parent07e8b3bae2f8f49e3cd6ea51f899a3d062100822
tun: Decouple vnet from tun_struct

Decouple vnet-related functions from tun_struct so that we can reuse
them for tap in the future.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250207-tun-v6-3-fb49cf8b103e@daynix.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/tun.c