]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04b0a5161ce81250e11335bcbd200e2f8989f130
tree015082f759ea15c94ccce946e9c173d213e50b36
parent44adbf1a697400d78b6c521213046e96ebf88d50
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