From: Steffen Klassert Date: Wed, 16 Apr 2014 07:01:03 +0000 (+0200) Subject: vti4: Don't count header length twice. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32452366b7250c42e96a18ffc3ad8db9e0ca3c2;p=pandora-kernel.git vti4: Don't count header length twice. We currently count the size of LL_MAX_HEADER and struct iphdr twice for vti4 devices, this leads to a wrong device mtu. The size of LL_MAX_HEADER and struct iphdr is already counted in ip_tunnel_bind_dev(), so don't do it again in vti_tunnel_init(). Fixes: b9959fd3 ("vti: switch to new ip tunnel code") Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed