From: Tom Herbert Date: Tue, 13 Jan 2015 01:00:37 +0000 (-0800) Subject: udp: pass udp_offload struct to UDP gro callbacks X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~217^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b12f3c7ac1ea43ae646db74faf0b56c2bba563;p=pandora-kernel.git udp: pass udp_offload struct to UDP gro callbacks This patch introduces udp_offload_callbacks which has the same GRO functions (but not a GSO function) as offload_callbacks, except there is an argument to a udp_offload struct passed to gro_receive and gro_complete functions. This additional argument can be used to retrieve the per port structure of the encapsulation for use in gro processing (mostly by doing container_of on the structure). Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed