commit | e68c48f97547979c91de04b487d79dc0d3be7015 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Feb 17 16:12:43 2015 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Feb 17 16:19:27 2015 +1030 |
tree | d3b336f91194aeccca1a91d3d3aa6a80cb1d57b2 | |
parent | 206ad06b2e88a3d826c99da8c8b3ed98e287ad87 [diff] |
virtio_net: unconditionally define struct virtio_net_hdr_v1. This was introduced in commit ed9ecb0415b97b5f9f91f146e1977bb372c74c6d, but only defined if !VIRTIO_NET_NO_LEGACY. We should always define it: easier for users to have conditional legacy code. Suggested-by: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>