From: Florian Westphal Date: Mon, 20 Oct 2014 11:49:18 +0000 (+0200) Subject: net: core: handle encapsulation offloads when computing segment lengths X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~57^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f993bc25e5196e60514c216d0bca0f600de64af8;p=pandora-kernel.git net: core: handle encapsulation offloads when computing segment lengths if ->encapsulation is set we have to use inner_tcp_hdrlen and add the size of the inner network headers too. This is 'mostly harmless'; tbf might send skb that is slightly over quota or drop skb even if it would have fit. Signed-off-by: Florian Westphal Signed-off-by: David S. Miller --- Reading git-diff-tree failed