2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/net/can
Eric W. Biederman 81adee47df net: Support specifying the network namespace upon device creation.
There is no good reason to not support userspace specifying the
network namespace during device creation, and it makes it easier
to create a network device and pass it to a child network namespace
with a well known name.

We have to be careful to ensure that the target network namespace
for the new device exists through the life of the call.  To keep
that logic clear I have factored out the network namespace grabbing
logic into rtnl_link_get_net.

In addtion we need to continue to pass the source network namespace
to the rtnl_link_ops.newlink method so that we can find the base
device source network namespace.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
2009-11-08 00:53:51 -08:00
..
sja1000 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-27 01:03:26 -07:00
usb can: provide library functions for skb allocation 2009-10-20 00:08:01 -07:00
at91_can.c can: provide library functions for skb allocation 2009-10-20 00:08:01 -07:00
dev.c net: Support specifying the network namespace upon device creation. 2009-11-08 00:53:51 -08:00
Kconfig can: add TI CAN (HECC) driver 2009-10-07 22:02:53 -07:00
Makefile can: add TI CAN (HECC) driver 2009-10-07 22:02:53 -07:00
ti_hecc.c can: provide library functions for skb allocation 2009-10-20 00:08:01 -07:00
vcan.c can: fix NOHZ local_softirq_pending 08 warning 2009-09-15 01:31:34 -07:00