diff options
author | Joe Stringer <joestringer@nicira.com> | 2014-11-14 01:38:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-14 23:12:48 +0100 |
commit | 23e62de33d179e229e4c1dfd93f90a3c7355c519 (patch) | |
tree | a08dd11592ac4910158cb478749b092cb81317b0 /fs/overlayfs | |
parent | Merge tag 'master-2014-11-11' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-23e62de33d179e229e4c1dfd93f90a3c7355c519.tar.xz linux-23e62de33d179e229e4c1dfd93f90a3c7355c519.zip |
net: Add vxlan_gso_check() helper
Most NICs that report NETIF_F_GSO_UDP_TUNNEL support VXLAN, and not
other UDP-based encapsulation protocols where the format and size of the
header differs. This patch implements a generic ndo_gso_check() for
VXLAN which will only advertise GSO support when the skb looks like it
contains VXLAN (or no UDP tunnelling at all).
Implementation shamelessly stolen from Tom Herbert:
http://thread.gmane.org/gmane.linux.network/332428/focus=333111
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions