Thread (5 messages) read the whole thread 5 messages, 2 authors, 2013-01-28

Re: [Patch net-next] pktgen: use the net namespace of current process instead of init_net

From: Cong Wang <hidden>
Date: 2013-01-28 02:57:38

On Sun, 2013-01-27 at 18:48 -0800, Eric W. Biederman wrote:
Cong Wang [off-list ref] writes:
quoted
From: Cong Wang <redacted>

Use the net namespace of the current process loading
pktgen module.
Why not add proper support for multiple network namespaces?

It looks like the proc files could be created in each network namespace
and be controlled from there.
Hmm, I didn't think much about this. You are right... we could probably
make these proc files per-net.
Your patch below looks like it could have some unintended effects
if pktgen was loaded automatically or compiled into the kernel.
In this case, 'current' should be the init process whose net namespace
is init_net, no?

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help