From: Herbert Xu Date: Thu, 9 Oct 2008 18:58:54 +0000 (-0700) Subject: gre: Use needed_headroom X-Git-Tag: v2.6.28-rc1~717^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95b819ad7;p=pandora-kernel.git gre: Use needed_headroom Now that we have dev->needed_headroom, we can use it instead of having a bogus dev->hard_header_len. This also allows us to include dev->hard_header_len in the MTU computation so that when we do have a meaningful hard_harder_len in future it is included automatically in figuring out the MTU. Incidentally, this fixes a bug where we ignored the needed_headroom field of the underlying device in calculating our own hard_header_len. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed