Skip to content
Commit 8e8cda6d authored by Mario Kicherer's avatar Mario Kicherer Committed by Marc Kleine-Budde
Browse files

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 (2bfe01ef)
 - fixed overlong line

Signed-off-by: default avatarMario Kicherer <dev@kicherer.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent dabf54dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment