From 6e150b857af30efade6fb9ccd20efc40f242edba Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Mon, 8 Mar 2010 21:00:28 +0000 Subject: argh, in del too, simultaneously spotted by kettenis and me --- sys/net/if.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/net/if.c') diff --git a/sys/net/if.c b/sys/net/if.c index ef7efb52184..9ee3f1cfa47 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.210 2010/03/08 20:52:52 henning Exp $ */ +/* $OpenBSD: if.c,v 1.211 2010/03/08 21:00:27 henning Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -2175,8 +2175,6 @@ void ifa_del(struct ifnet *ifp, struct ifaddr *ifa) { TAILQ_REMOVE(&ifp->if_addrlist, ifa, ifa_list); - if (ifp->if_flags & IFF_BROADCAST && ifa->ifa_broadaddr) - ifa_item_remove(ifa->ifa_broadaddr, ifa, ifp); } int -- cgit v1.2.3