svn commit: r277188 - projects/ifnet/sys/net

Gleb Smirnoff glebius at FreeBSD.org
Wed Jan 14 19:42:12 UTC 2015


Author: glebius
Date: Wed Jan 14 19:42:11 2015
New Revision: 277188
URL: https://svnweb.freebsd.org/changeset/base/277188

Log:
  Don't do the work of ifnet layer.

Modified:
  projects/ifnet/sys/net/if_ethersubr.c

Modified: projects/ifnet/sys/net/if_ethersubr.c
==============================================================================
--- projects/ifnet/sys/net/if_ethersubr.c	Wed Jan 14 16:42:54 2015	(r277187)
+++ projects/ifnet/sys/net/if_ethersubr.c	Wed Jan 14 19:42:11 2015	(r277188)
@@ -842,9 +842,6 @@ ether_ifdetach(struct ifnet *ifp)
 		    ("ng_ether_detach_p is NULL"));
 		(*ng_ether_detach_p)(ifp);
 	}
-
-	bpfdetach(ifp);
-	if_detach(ifp);
 }
 
 #ifdef VIMAGE


More information about the svn-src-projects mailing list