summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-06-14 03:55:09 +0000
committermlaier <mlaier@FreeBSD.org>2004-06-14 03:55:09 +0000
commit131fb63c625cc6708ab771b6e0975a3b44e908c1 (patch)
treef2720880fb22630eb882bdd63a5b84b7915ebadc /sys/net
parent2d6cdd268c30fd78ee1b47037da65c11bcf437b8 (diff)
downloadFreeBSD-src-131fb63c625cc6708ab771b6e0975a3b44e908c1.zip
FreeBSD-src-131fb63c625cc6708ab771b6e0975a3b44e908c1.tar.gz
Unbreak non-ALTQ kernel linking. I forgot about tbr_dequeue.
In the end drivers should be building with ALTQ checks by default, but for now build them with the old macros for non-ALTQ kernels. Note: Check new features w/ LINT *and* w/ LINT minus the new feature. Found-by: rwatson
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 02bcf1f..0354f53 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -356,7 +356,7 @@ if_handoff(struct ifqueue *ifq, struct mbuf *m, struct ifnet *ifp, int adjust)
(*ifp->if_start)(ifp);
return (1);
}
-#if 1 /* ALTQ */
+#ifdef ALTQ
#define IFQ_ENQUEUE(ifq, m, err) \
do { \
IF_LOCK(ifq); \
OpenPOWER on IntegriCloud