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
This commit is contained in:
parent
cb96276b37
commit
0557239594
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user