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 15:24:44
>> sys/netinet/in_gre.c:gre_mobile_input() assumes that GRE header
>> and IP header are continuous on a single mbuf, but the assumption
>> does not hold for ESP case i guess. i guess we need to fix
>> gre_mobile_input() to perform m_pullup().
>
>Oh, but hang on: I'm not using mobile encapsulation. Is it really
>gre_input2 that's making this assumption?
oops, i was wrong about where.
gre_input2() makes assumption that m->m_len =< sizeof(struct greip)
it needs to be fixed.
itojun