lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 12 Dec 2007 15:13:13 -0800 From: Stephen Hemminger <shemminger@...ux-foundation.org> To: Ariane Keller <ariane.keller@....ee.ethz.ch> Cc: Patrick McHardy <kaber@...sh.net>, Ariane Keller <ariane.keller@....ee.ethz.ch>, Ben Greear <greearb@...delatech.com>, netdev@...r.kernel.org, herbert@...dor.apana.org.au, Rainer Baumann <baumann@....ee.ethz.ch> Subject: Re: [PATCH 0/2] netem: trace enhancement On Mon, 10 Dec 2007 15:32:14 +0100 Ariane Keller <ariane.keller@....ee.ethz.ch> wrote: > I finally managed to rewrite the netem trace extension to use rtnetlink > communication for the data transfer for user space to kernel space. > > The kernel patch is available here: > http://www.tcn.hypert.net/tcn_kernel_2_6_23_rtnetlink > > and the iproute patch is here: > http://www.tcn.hypert.net/tcn_iproute2_2_6_23_rtnetlink > > Whenever new data is needed the kernel module sends a notification to > the user space process. Thereupon the user space process sends a data > package to the kernel module. I wonder if it wouldn't be possible to enhance/extend netlink to use sendfile/splice to get the data. It is rather more work than needed for just this, but it would be useful for large configuration. > I had to write a new qdisc_notify function (qdisc_notify_pid) since the > other was acquiring a lock, which we already hold in this situation. > I hope everything works as expected and I'm looking forward for your > comments. > > Thanks! > Ariane -- Stephen Hemminger <shemminger@...ux-foundation.org> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists