After reading the code, I found a problem with function
As you have pointed out in the last mail, if we check against
dst->pmtu before doing transformation, it will result in underestimation
for esp due to alignment paddings and for IPCOMP it will be totally
The function xfrm_check_output() has the same problem, because it's
before doing transformation.
I think it's appropriate to invoke xfrm_check_output() after the
Only after doing the transformation can we know the actual esp alignment
and the actual IPCOMP packet size.
What's your advice?
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:01 EST