]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: Net header needs hdr_len
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:50:01 +0000 (23:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:50:02 +0000 (23:50 +1100)
commit3fedffdf56b1ddd3c8aaf73138ddeb478451cbc8
tree8c863eb9ed295758a585e8f8f865faf9f6ba9302
parentb094a5bdbe4a95ce15e21e4b4c5fbe1e8eddc83f
virtio: Net header needs hdr_len

It's far easier to deal with packets if we don't have to parse the
packet to figure out the header length to know how much to pull into
the skb data.  Add the field to the virtio_net_hdr struct (and fix the
spaces that somehow crept in there).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c
include/linux/virtio_net.h