Re: xfrm_lookup inconsistency

2005-09-08 Thread Patrick McHardy
David S. Miller wrote: From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 08 Sep 2005 23:00:39 +0200 When an error is returned in some cases xfrm_lookup releases the dst_entry and sets the pointer to NULL, in some it doesn't. There are multiple dst leaks in users of xfrm_lookup because not a

Re: xfrm_lookup inconsistency

2005-09-08 Thread David S. Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 08 Sep 2005 23:00:39 +0200 > When an error is returned in some cases xfrm_lookup releases > the dst_entry and sets the pointer to NULL, in some it doesn't. > There are multiple dst leaks in users of xfrm_lookup because > not all take care to rel