pktgen: support net namespace
authorCong Wang <[email protected]>
Mon, 28 Jan 2013 19:55:53 +0000 (19:55 +0000)
committerDavid S. Miller <[email protected]>
Tue, 29 Jan 2013 20:17:46 +0000 (15:17 -0500)
commit4e58a0275015e5c8988bda9cd0635e2ef405c985
tree743245c3e8b10fb83577b590579c3e593aa693c7
parentdc975382d2ef36be7e78fac3717927de1a5abcd8
pktgen: support net namespace

v3: make pktgen_threads list per-namespace
v2: remove a useless check

This patch add net namespace to pktgen, so that
we can use pktgen in different namespaces.

Cc: Eric W. Biederman <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: "Eric W. Biederman" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/core/pktgen.c