Re: [IPSEC]: Check x->encap before dereferencing it

2006-04-04 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 4 Apr 2006 09:17:04 +1000 > [IPSEC]: Check x->encap before dereferencing it > > We need to dereference x->encap before dereferencing it for encap_type. > If it's absent then the encap_type is zero. > > Signed-o

[IPSEC]: Check x->encap before dereferencing it

2006-04-03 Thread Herbert Xu
On Mon, Apr 03, 2006 at 11:33:16PM +0200, Christophe Saout wrote: > > I'm getting a crash in xfrm4_rcv_encap few seconds after setting up my > IPSEC connection (tunnel for default route 0.0.0.0/0 to next router). Sorry about that. This patch should fix the problem. [IPSEC]: