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

kuznet@ms2.inr.ac.ru
Fri, 8 Nov 2002 16:31:29 +0300 (MSK)


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/