diff options
author | imp <imp@FreeBSD.org> | 2004-07-04 16:10:36 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-07-04 16:10:36 +0000 |
commit | c8bc9c77afa1fbbf704376606a236020afdfba8e (patch) | |
tree | b69a30e44370bbca957dbfc822716dccd47881ca | |
parent | df84cdbe06ddfd60e172e2f3d7ee2f7541c16f67 (diff) | |
download | FreeBSD-src-c8bc9c77afa1fbbf704376606a236020afdfba8e.zip FreeBSD-src-c8bc9c77afa1fbbf704376606a236020afdfba8e.tar.gz |
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
-rw-r--r-- | sys/i4b/driver/i4b_ing.c | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |