macvtap: Ignore tap features when VNET_HDR is off
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 16 Aug 2013 19:25:02 +0000 (15:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 20:09:12 +0000 (13:09 -0700)
commite5733321d5a94cc9a202ea85c4aabe09571217e6
tree015082f759ea15c94ccce946e9c173d213e50b36
parente558b0188bb7e35ffc4d35253c6b9ea491f3b996
macvtap: Ignore tap features when VNET_HDR is off

When the user turns off VNET_HDR support on the
macvtap device, there is no way to provide any
offload information to the user.  So, it's safer
to ignore offload setting then depend on the user
setting them correctly.

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