diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2014-10-21 10:52:54 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2014-10-21 10:52:54 +0000 |
commit | e75da720bf10857a1d0b8ca1d4134d92184a4454 (patch) | |
tree | a403d7402c5674fef7d5b84c14700ace4311eee2 /sys/net/if_tun.c | |
parent | 4e603f633733a8f5af15714b6417a92bf484433c (diff) |
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); |