diff options
author | 2014-10-21 10:52:53 +0000 | |
---|---|---|
committer | 2014-10-21 10:52:53 +0000 | |
commit | 116d48bfa3dba7bed9b68b2d581f29b3bfb09ad7 (patch) | |
tree | f84b8640d8adfec87e48e615b919d2d35ed305cb /sys/net/if_tun.c | |
parent | Style + typos in debug printfs. (diff) | |
download | wireguard-openbsd-116d48bfa3dba7bed9b68b2d581f29b3bfb09ad7.tar.xz wireguard-openbsd-116d48bfa3dba7bed9b68b2d581f29b3bfb09ad7.zip |
tun(4) has a pipex session which is used for multicast internally, it
wasn't freeed when the interface is destroyed. Free it properly.
ok dlg
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r-- | sys/net/if_tun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index b68e5a2eec5..2350c436e5e 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tun.c,v 1.128 2014/09/08 06:24:13 jsg Exp $ */ +/* $OpenBSD: if_tun.c,v 1.129 2014/10/21 10:52:53 yasuoka Exp $ */ /* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */ /* @@ -226,7 +226,7 @@ tun_clone_destroy(struct ifnet *ifp) int s; #ifdef PIPEX - pipex_iface_stop(&tp->pipex_iface); + pipex_iface_fini(&tp->pipex_iface); #endif tun_wakeup(tp); |