From: Patrick McHardy Date: Mon, 9 Apr 2007 18:47:18 +0000 (-0700) Subject: [XFRM]: Optimize MTU calculation X-Git-Tag: v2.6.22-rc1~1128^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5c2523893747f88a83376abad310c8ad13f7197;p=pandora-kernel.git [XFRM]: Optimize MTU calculation Replace the probing based MTU estimation, which usually takes 2-3 iterations to find a fitting value and may underestimate the MTU, by an exact calculation. Also fix underestimation of the XFRM trailer_len, which causes unnecessary reallocations. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed