Bjoern A. Zeeb afa47e51aa Only add the IPcomp header if crypto reported success and we have a lower
payload size.  Before we had always added the header, no matter if we
actually send out compressed data or not.

With this, after the opencrypto/deflate changes, IPcomp starts to work
apart from edge cases.  Leave it disabled by default until those are
fixed as well.

PR:		kern/123587
MFC after:	5 days
2009-11-29 10:53:34 +00:00
..
2009-11-28 21:01:26 +00:00
2009-09-06 07:30:21 +00:00
2006-03-25 13:38:52 +00:00