virtio_net: unconditionally define struct virtio_net_hdr_v1.
This was introduced in commit ed9ecb04, but only defined if !VIRTIO_NET_NO_LEGACY. We should always define it: easier for users to have conditional legacy code. Suggested-by: N"Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
Showing
想要评论请 注册 或 登录