]> 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)
commitb641bda2b814e952dc3f2705ed22a4b359da385f
tree015082f759ea15c94ccce946e9c173d213e50b36
parente83fe022ff818a52bcb116c74ade47f873f043dd
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