net: implement tap support for receive_raw()
commit2596774ad27bbe478829343702e896bea4c621cb
authorMark McLoughlin <markmc@redhat.com>
Thu, 22 Oct 2009 16:43:44 +0000 (22 17:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:29:01 +0000 (27 12:29 -0500)
tree26b581d683c051adf939244c54ff8c886b16db73
parentb04c4134d6de28c249277de19e523bfbe4aebbd6
net: implement tap support for receive_raw()

tap_receive_raw() always prepends a vnet header if IFF_VNET_HDR is
enabled.

tap_receive() only prepends when the a header is required but the NIC
doesn't supply one.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c