commit | 281216177a407f78cfd650ee4391afc487577193 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Mon Jun 18 22:30:15 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 18 22:30:15 2007 -0700 |
tree | 47325468a011757f3c4169e83d3172b744b5c9e5 | |
parent | fa490cfd15d7ce0900097cc4e60cfd7a76381138 [diff] |
[XFRM]: Fix MTU calculation for non-ESP SAs My IPsec MTU optimization patch introduced a regression in MTU calculation for non-ESP SAs, the SA's header_len needs to be subtracted from the MTU if the transform doesn't provide a ->get_mtu() function. Reported-and-tested-by: Marco Berizzi <pupilla@hotmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>