]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
macvtap: simplify usage of tap_features
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 16 Aug 2013 19:25:00 +0000 (15:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 20:09:11 +0000 (13:09 -0700)
commita567dd6252263c8147b7269df5d03d9e31463e11
tree862bea2a1641455e210e5d51cc3a187b6f62b124
parent7ed5c5ae96d23da22de95e1c7a239537acd378b1
macvtap: simplify usage of tap_features

In macvtap, tap_features specific the features of that the user
has specified via ioctl().  If we treat macvtap as a macvlan+tap
then we could all the tap a pseudo-device and give it other features
like SG and GSO.  Then we can stop using the features of lower
device (macvlan) when forwarding the traffic the tap.

This solves the issue of possible checksum offload mismatch between
tap feature and macvlan features.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c