Re: [PATCH] Improve behaviour of Netlink Sockets
From: jamal <hidden>
Date: 2004-09-22 02:53:44
On Tue, 2004-09-21 at 22:48, Pablo Neira wrote:
jamal wrote:quoted
For a test i typically have something adding say 10K items (actions in my case, but could be ipsec policies) and then try to dump them. On my xeon i get an overrun after about 6K items are dumped.Jamal, you're getting an overrun dumping ipsec policies. If I'm not wrong, that tool is doing that as dump operation, but that this shouldn't happen by using dump. Am I missing something?
Its not ipsec policies, rather tc actions - but i expect the same to happen to ipsec policies being dumped..
I would like to have a way to send notifications via netlink sockets without losing congestion control ability, that is, without losing messages because of an overrun.
This is a legit requirement. It is also legit to be able to do so for just a basic get request (not a dump). Nothing in the semantics of netlink says that it should work in one way or the other only. cheers, jamal BTW, I was never able to dload your code; i think you might have taken it offline?