summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/tuntap.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-08 18:48:17 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-11-14 02:17:19 +0100
commit34e5440fb252dd9a26e7e35b4f4cbaf17b7d7749 (patch)
treeb56e8248cb380ed59eb72612daef16cd223afbdc /src/network/netdev/tuntap.h
parentnetwork/bond: do not update several parameters if already up or has slaves (diff)
downloadsystemd-34e5440fb252dd9a26e7e35b4f4cbaf17b7d7749.tar.xz
systemd-34e5440fb252dd9a26e7e35b4f4cbaf17b7d7749.zip
network/tuntap: manage tun/tap fds by manager
Otherwise, when a .netdev file for tun or tap netdev is updated, reloading the file leaks the previous file descriptor.
Diffstat (limited to 'src/network/netdev/tuntap.h')
-rw-r--r--src/network/netdev/tuntap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/netdev/tuntap.h b/src/network/netdev/tuntap.h
index 88e0ce5f97..e2de8eb6bb 100644
--- a/src/network/netdev/tuntap.h
+++ b/src/network/netdev/tuntap.h
@@ -8,7 +8,6 @@ typedef struct TunTap TunTap;
struct TunTap {
NetDev meta;
- int fd;
char *user_name;
char *group_name;
bool multi_queue;