From: Patrick McHardy Date: Tue, 19 Jun 2007 05:30:15 +0000 (-0700) Subject: [XFRM]: Fix MTU calculation for non-ESP SAs X-Git-Tag: v2.6.22-rc6~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=281216177a407f78cfd650ee4391afc487577193;p=pandora-kernel.git [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 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed