Re: [documentation] Re: [LARTC] IPSEC FIRST LIGHT! (by non-kernel developer :-))

From: kuznet@ms2.inr.ac.ru
Date: Fri Nov 08 2002 - 08:31:29 EST


Hello!

> Kernel enters a very tight loop here, I'm amazed that magic sysrq still
> works, how is that?

Yes, this is sort of inefficient loop. :-)

===== net/ipv4/xfrm_policy.c 1.8 vs edited =====
--- 1.8/net/ipv4/xfrm_policy.c Fri Nov 8 16:25:06 2002
+++ edited/net/ipv4/xfrm_policy.c Fri Nov 8 16:27:43 2002
@@ -948,6 +948,7 @@
                         dst_release(dst);
                         return NULL;
                 }
+ child = child->child;
         }
 
         return dst;

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:15 EST