pktgen: support net namespace
authorCong Wang <amwang@redhat.com>
Mon, 28 Jan 2013 19:55:53 +0000 (19:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <ebiederm@xmission.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c