43ec842ca4
The rx_queues and tx_queues fields of the data structure points to a
struct virtnet_rx or virtnet_tx. Casting it to a virtqueue is an error.
It does not trigger any bug because pointer is not dereferenced inside
the function, but it can become a bug if this code is copy/pasted and
vq is dereferenced.
Fixes:
|
||
---|---|---|
.. | ||
bus | ||
crypto | ||
event | ||
mempool | ||
net | ||
Makefile |