svn commit: r184619 - user/kmacy/HEAD_multi_tx/sys/net

Kip Macy kmacy at FreeBSD.org
Mon Nov 3 22:30:20 PST 2008


Author: kmacy
Date: Tue Nov  4 06:30:20 2008
New Revision: 184619
URL: http://svn.freebsd.org/changeset/base/184619

Log:
  replace IFQ_HANDOFF in ether_output_frame with call to ifp's if_start_mbuf

Modified:
  user/kmacy/HEAD_multi_tx/sys/net/if_ethersubr.c

Modified: user/kmacy/HEAD_multi_tx/sys/net/if_ethersubr.c
==============================================================================
--- user/kmacy/HEAD_multi_tx/sys/net/if_ethersubr.c	Tue Nov  4 06:29:15 2008	(r184618)
+++ user/kmacy/HEAD_multi_tx/sys/net/if_ethersubr.c	Tue Nov  4 06:30:20 2008	(r184619)
@@ -408,7 +408,6 @@ bad:			if (m != NULL)
 int
 ether_output_frame(struct ifnet *ifp, struct mbuf *m)
 {
-	int error;
 #if defined(INET) || defined(INET6)
 	INIT_VNET_NET(ifp->if_vnet);
 	struct ip_fw *rule = ip_dn_claim_rule(m);
@@ -428,8 +427,7 @@ ether_output_frame(struct ifnet *ifp, st
 	 * Queue message on interface, update output statistics if
 	 * successful, and start output if interface not yet active.
 	 */
-	IFQ_HANDOFF(ifp, m, error);
-	return (error);
+	return ((ifp->if_start_mbuf)(ifp, m));
 }
 
 #if defined(INET) || defined(INET6)


More information about the svn-src-user mailing list