diff options
author | Patrick McHardy <kaber@trash.net> | 2007-04-09 11:47:18 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:28:38 -0700 |
commit | c5c2523893747f88a83376abad310c8ad13f7197 (patch) | |
tree | 58f1ab25ac9f7ca7460abbd24e9bab9c8683f6fd /fs/jffs2/acl.h | |
parent | 557922584d9c5b6b990bcfb2fec3134f0e73a05d (diff) | |
download | linux-stable-c5c2523893747f88a83376abad310c8ad13f7197.tar.gz linux-stable-c5c2523893747f88a83376abad310c8ad13f7197.tar.bz2 linux-stable-c5c2523893747f88a83376abad310c8ad13f7197.zip |
[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>
Diffstat (limited to 'fs/jffs2/acl.h')
0 files changed, 0 insertions, 0 deletions