2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/net/can
Mario Kicherer 8e8cda6d73 can: initial support for network namespaces
This patch adds initial support for network namespaces. The changes only
enable support in the CAN raw, proc and af_can code. GW and BCM still
have their checks that ensure that they are used only from the main
namespace.

The patch boils down to moving the global structures, i.e. the global
filter list and their /proc stats, into a per-namespace structure and passing
around the corresponding "struct net" in a lot of different places.

Changes since v1:
 - rebased on current HEAD (2bfe01e)
 - fixed overlong line

Signed-off-by: Mario Kicherer <dev@kicherer.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2017-04-04 17:35:58 +02:00
..
af_can.c can: initial support for network namespaces 2017-04-04 17:35:58 +02:00
af_can.h can: initial support for network namespaces 2017-04-04 17:35:58 +02:00
bcm.c can: initial support for network namespaces 2017-04-04 17:35:58 +02:00
gw.c can: initial support for network namespaces 2017-04-04 17:35:58 +02:00
Kconfig can: Kconfig: switch on all CAN protocolls by default 2013-01-26 16:58:58 +01:00
Makefile can: build proc support only if CONFIG_PROC_FS is activated 2016-06-17 15:39:41 +02:00
proc.c can: initial support for network namespaces 2017-04-04 17:35:58 +02:00
raw.c can: initial support for network namespaces 2017-04-04 17:35:58 +02:00