linux/drivers/net
Leon Romanovsky 2671345504 devlink: Allocate devlink directly in requested net namespace
There is no need in extra call indirection and check from impossible
flow where someone tries to set namespace without prior call
to devlink_alloc().

Instead of this extra logic and additional EXPORT_SYMBOL, use specialized
devlink allocation function that receives net namespace as an argument.

Such specialized API allows clear view when devlink initialized in wrong
net namespace and/or kernel users don't try to change devlink namespace
under the hood.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-07-30 13:16:38 -07:00
..
appletalk appletalk: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
arcnet
bonding net: bonding: move ioctl handling to private ndo operation 2021-07-27 20:11:45 +01:00
caif Networking fixes for 5.14-rc2, including fixes from bpf and netfilter. 2021-07-14 09:24:32 -07:00
can can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
dsa net: dsa: sja1105: make sure untagged packets are dropped on ingress ports with no pvid 2021-07-29 15:35:01 +01:00
ethernet bcm63xx_enet: delete a redundant assignment 2021-07-29 22:18:42 +01:00
fddi fddi: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
fjes Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
hamradio hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
hippi hippi: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
hyperv Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
ieee802154 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl() 2021-06-22 21:26:59 +02:00
ipa net: ipa: don't suspend endpoints if setup not complete 2021-07-28 00:06:27 +01:00
ipvlan ipvlan: Add handling of NETDEV_UP events 2021-07-29 22:17:37 +01:00
mctp mctp: Add initial driver infrastructure 2021-07-29 15:06:50 +01:00
mdio net: mdiobus: withdraw fwnode_mdbiobus_register 2021-06-25 11:46:29 -07:00
mhi net: mhi: Improve MBIM packet counting 2021-07-26 12:21:00 +01:00
netdevsim devlink: Allocate devlink directly in requested net namespace 2021-07-30 13:16:38 -07:00
pcs
phy dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
plip slip/plip: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
ppp ppp: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
slip slip/plip: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
team
usb dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
vmxnet3 vmxnet3: update to version 6 2021-07-16 17:32:14 -07:00
wan net: split out ndo_siowandev ioctl 2021-07-27 20:11:45 +01:00
wireguard
wireless airo: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
wwan wwan: core: Fix missing RTM_NEWLINK event for default link 2021-07-23 17:16:19 +01:00
xen-netback
bareudp.c bareudp: allow redirecting bareudp packets to eth devices 2021-06-28 12:44:17 -07:00
dummy.c
eql.c eql: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
geneve.c
gtp.c gtp: reset mac_header after decap 2021-06-28 12:44:17 -07:00
ifb.c
Kconfig mctp: Add initial driver infrastructure 2021-07-29 15:06:50 +01:00
LICENSE.SRC
loopback.c
macsec.c net: macsec: fix the length used to copy the key for offloading 2021-06-24 12:41:12 -07:00
macvlan.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
macvtap.c
Makefile mctp: Add initial driver infrastructure 2021-07-29 15:06:50 +01:00
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c sb1000: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c veth: use skb_prepare_for_gro() 2021-07-29 12:18:12 +01:00
virtio_net.c Networking fixes for 5.14-rc2, including fixes from bpf and netfilter. 2021-07-14 09:24:32 -07:00
vrf.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-06-29 15:45:27 -07:00
vsockmon.c
vxlan.c vxlan: add missing rcu_read_lock() in neigh_reduce() 2021-06-22 09:48:38 -07:00
xen-netfront.c