svn commit: r184620 - user/kmacy/HEAD_multi_tx/sys/net
Kip Macy
kmacy at FreeBSD.org
Mon Nov 3 22:34:02 PST 2008
Author: kmacy
Date: Tue Nov 4 06:34:01 2008
New Revision: 184620
URL: http://svn.freebsd.org/changeset/base/184620
Log:
replace calls to IFQ_HANDOFF with if_start_mbuf in vlan and lagg
Modified:
user/kmacy/HEAD_multi_tx/sys/net/if_lagg.c
user/kmacy/HEAD_multi_tx/sys/net/if_vlan.c
Modified: user/kmacy/HEAD_multi_tx/sys/net/if_lagg.c
==============================================================================
--- user/kmacy/HEAD_multi_tx/sys/net/if_lagg.c Tue Nov 4 06:30:20 2008 (r184619)
+++ user/kmacy/HEAD_multi_tx/sys/net/if_lagg.c Tue Nov 4 06:34:01 2008 (r184620)
@@ -1370,10 +1370,8 @@ out:
int
lagg_enqueue(struct ifnet *ifp, struct mbuf *m)
{
- int error = 0;
- IFQ_HANDOFF(ifp, m, error);
- return (error);
+ return ((ifp->if_start_mbuf)(ifp, m));
}
/*
Modified: user/kmacy/HEAD_multi_tx/sys/net/if_vlan.c
==============================================================================
--- user/kmacy/HEAD_multi_tx/sys/net/if_vlan.c Tue Nov 4 06:30:20 2008 (r184619)
+++ user/kmacy/HEAD_multi_tx/sys/net/if_vlan.c Tue Nov 4 06:34:01 2008 (r184620)
@@ -868,7 +868,7 @@ vlan_start(struct ifnet *ifp)
* Send it, precisely as ether_output() would have.
* We are already running at splimp.
*/
- IFQ_HANDOFF(p, m, error);
+ error = (ifp->if_start_mbuf)(p, m);
if (!error)
ifp->if_opackets++;
else
More information about the svn-src-user
mailing list