From: Joe Stringer Date: Fri, 14 Nov 2014 00:38:12 +0000 (-0800) Subject: net: Add vxlan_gso_check() helper X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~83^2~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e62de33d179e229e4c1dfd93f90a3c7355c519;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed