Re: [PATCH] Improve behaviour of Netlink Sockets
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-09-22 03:39:31
On Tue, Sep 21, 2004 at 10:57:26PM -0400, jamal wrote:
quoted
Secondly each of your user-space messages is producing a number of replies. This should be done as a dump operation. If you do it as a dump operation, then you will never get overruns because the kernel never sends more than the user can handle.This is not accurate. You will get overruns. Try adding a few thousand ipsec policies and then dumping them. Perhaps we can have the cb reset in case of overrun detection.
I just happen to have a few thousand ipsec policies :) I dump them all the time with the great new tool in iproute and I've never had any overruns. In contrast whenever I use setkey to dump them over PFKEY it dies very quickly indeed. I bet that there is a bug somewhere in the tc stuff. Let me have a look. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt