mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
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
0d0837ee6d
commit
1877e5a42f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131574
@ -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…
x
Reference in New Issue
Block a user