netpoll: use the net namespace of current process instead of init_net
authorCong Wang <[email protected]>
Sun, 27 Jan 2013 15:55:21 +0000 (15:55 +0000)
committerDavid S. Miller <[email protected]>
Mon, 28 Jan 2013 23:32:55 +0000 (18:32 -0500)
commit556e6256c813063b95a9f4e55109f77c1a7d3fdd
treee607bbf12fedcaba7c48f1ea8e12ce8afbf012d2
parentfaeed828f9607923e9dc22182e819908e95c8852
netpoll: use the net namespace of current process instead of init_net

This will allow us to setup netconsole in a different namespace
rather than where init_net is.

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