lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat,  5 Oct 2019 08:10:30 +0200
From:   Jiri Pirko <jiri@...nulli.us>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, idosch@...lanox.com,
        jakub.kicinski@...ronome.com, petrm@...lanox.com,
        tariqt@...lanox.com, saeedm@...lanox.com, shuah@...nel.org,
        mlxsw@...lanox.com
Subject: [patch net-next 0/3] create netdevsim instances in namespace

From: Jiri Pirko <jiri@...lanox.com>

Allow user to create netdevsim devlink and netdevice instances in a
network namespace according to the namespace where the user resides in.
Add a selftest to test this.

Jiri Pirko (3):
  net: devlink: export devlink net setter
  netdevsim: create devlink and netdev instances in namespace
  selftests: test creating netdevsim inside network namespace

 drivers/net/netdevsim/bus.c                   |  1 +
 drivers/net/netdevsim/dev.c                   |  1 +
 drivers/net/netdevsim/netdevsim.h             |  3 +
 include/net/devlink.h                         |  2 +
 net/core/devlink.c                            | 15 +++-
 .../drivers/net/netdevsim/devlink_in_netns.sh | 72 +++++++++++++++++++
 tools/testing/selftests/net/forwarding/lib.sh |  7 +-
 7 files changed, 97 insertions(+), 4 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/netdevsim/devlink_in_netns.sh

-- 
2.21.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ