summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-05-24 02:11:05 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-05-24 02:11:05 +0000
commit84ed55f47d75f7d61021698281a5003d0e1bdb25 (patch)
treed295b38839a313144fa7164908b3ce1965addf9d /sys/net
parent14241c5f46778af7f4dda900398929aa5911a91a (diff)
remove bpfdetach() here, because it is called correctly in if_detach()
afterwards diff from gleydson soares ok claudio@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_pfsync.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index a5c00477df6..a6a7d52eb71 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.146 2010/05/12 08:11:11 claudio Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.147 2010/05/24 02:11:04 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -355,9 +355,6 @@ pfsync_clone_destroy(struct ifnet *ifp)
if (!pfsync_sync_ok)
carp_group_demote_adj(&sc->sc_if, -1, "pfsync destroy");
#endif
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
if_detach(ifp);
pfsync_drop(sc);