diff --git a/src/libs/compat/freebsd_network/if.c b/src/libs/compat/freebsd_network/if.c index 6c258fe3c1..e4b340b0c7 100644 --- a/src/libs/compat/freebsd_network/if.c +++ b/src/libs/compat/freebsd_network/if.c @@ -775,9 +775,7 @@ int ether_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, struct route *ro) { - int error = 0; - IFQ_HANDOFF(ifp, m, error); - return error; + return ifp->if_transmit(ifp, m); }