Patrick McHardy c5c2523893 [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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:28:38 -07:00
..
2007-04-25 22:28:38 -07:00
2007-04-25 22:28:38 -07:00
2007-02-28 09:42:14 -08:00
2007-04-25 22:28:38 -07:00
2005-04-16 15:20:36 -07:00