aboutsummaryrefslogtreecommitdiff
path: root/sys/i4b/driver/i4b_ing.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-07-04 16:10:36 +0000
committerWarner Losh <imp@FreeBSD.org>2004-07-04 16:10:36 +0000
commit1877e5a42f58324dc404b071a6e1b456a8fc9f53 (patch)
treeb69a30e44370bbca957dbfc822716dccd47881ca /sys/i4b/driver/i4b_ing.c
parent0d0837ee6d7a5aaa72115af82fe05b5dc984cbd3 (diff)
meta_p is a void *, so a variable that's of type void * can't be
dereferenced directly. Toss an ifdef around it for the moment and allow this to compile. This likely means that priority packets aren't queued to the special high priority queue. The maintainer of this should look into the problem. This is likely fallout from the netgraph migration to using a more generic meta tag from the mbug recently. Fixes: pc98 tinerbox
Notes
Notes: svn path=/head/; revision=131574
Diffstat (limited to 'sys/i4b/driver/i4b_ing.c')
-rw-r--r--sys/i4b/driver/i4b_ing.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i4b/driver/i4b_ing.c b/sys/i4b/driver/i4b_ing.c
index 904c69a297f2..47db65d5f05f 100644
--- a/sys/i4b/driver/i4b_ing.c
+++ b/sys/i4b/driver/i4b_ing.c
@@ -758,7 +758,7 @@ ng_ing_rcvdata(hook_p hook, item_p item)
/*
* Now queue the data for when it can be sent
*/
-
+#ifdef THIS_DOESNT_COMPILE
if (meta && meta->priority > 0)
{
xmitq_p = (&sc->xmitq_hipri);
@@ -767,6 +767,9 @@ ng_ing_rcvdata(hook_p hook, item_p item)
{
xmitq_p = (&sc->xmitq);
}
+#else
+ xmitq_p = (&sc->xmitq);
+#endif
s = splimp();