From e75da720bf10857a1d0b8ca1d4134d92184a4454 Mon Sep 17 00:00:00 2001 From: YASUOKA Masahiko Date: Tue, 21 Oct 2014 10:52:54 +0000 Subject: 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 --- sys/net/if_tun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if_tun.c') 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); -- cgit v1.2.3