Subject: Re: AH + GRE works; ESP + GRE doesn't
To: Curt Sampson <cjs@cynic.net>
From: None <itojun@iijlab.net>
List: tech-net
Date: 04/21/2003 17:37:55
>> >> 	any interesting values on netstat -sn?
>> >Ah, an excellent thought! The ip "with data size < data length" one is
>> >incrementing for every packet that comes back via the GRE. I wonder if
>> >I screwed up the patch somehow? I've appended a diff; perhaps you could
>> >look it over and see if I missed something.
>>
>> >+	m_adj(m, hlen);
>> > 	m->m_pkthdr.len -= hlen;	<-- maybe this line is redundant.
>
>Yes, that seems to do the trick. I now receive ESP+GRE and AH+ESP+GRE
>packets at the host with the fixed kernel, and they are dencapsualted
>and routed properly. Do you want to make commit this patch and submit a
>request for a pullup, or shall I do it?

	i will.

itojun