virtio_net: formalize skb_vnet_hdr
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2009 15:59:19 +0000 (09:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2009 00:29:20 +0000 (09:59 +0930)
commitb3f24698a7faa6e9d8a14124cfdc25353fc8ca19
treee1b0325b85355f674dc541f4e49eea5a3dbf915a
parentb0c39dbdc204006ef3558a66716ff09797619778
virtio_net: formalize skb_vnet_hdr

We put the virtio_net_hdr into the skb's cb region; turn this into a
union to clean up the code slightly and allow future expansion.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Dinesh Subhraveti <dineshs@us.ibm.com>
drivers/net/virtio_net.c