Hi Herbert,
Herbert Xu wrote:
On Mon, Sep 20, 2004 at 08:14:42PM +0200, Pablo Neira wrote:
Here a link to the tool that I use to stress netlink sockets.
http://eurodev.net/~pablo/netlinkbench-unicast-1.0.tar.gz
Thanks for the link. I'm afraid that your kernel module is simply
buggy.
First of all as I explained before the kernel must never wait. It has
exactly the same effect as extending the receive queue length.
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.
I'll adapt the module to use dump, I still think that I can reproduce
the problem.
thanks for the review, please stay tuned.
regards,
Pablo
|