From c8bc9c77afa1fbbf704376606a236020afdfba8e Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 4 Jul 2004 16:10:36 +0000 Subject: 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 --- sys/i4b/driver/i4b_ing.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/i4b/driver/i4b_ing.c b/sys/i4b/driver/i4b_ing.c index 904c69a..47db65d 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(); -- cgit v1.1