forked from luck/tmp_suning_uos_patched
2a7e48dc38
commit dcfde1635e764fd69cc756c7780d144e288608e9 upstream.
It's legal to have 'offset + len' equal to
sizeof(struct virtio_net_config), since 'ndev->config' is a
'struct virtio_net_config', so we can safely copy its content under
this condition.
Fixes:
|
||
---|---|---|
.. | ||
ifcvf | ||
mlx5 | ||
vdpa_sim | ||
Kconfig | ||
Makefile | ||
vdpa.c |