aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2015-02-26 16:20:07 -0600
committerDavid S. Miller <[email protected]>2015-02-28 15:14:44 -0500
commit06615bed60c1fb7c37adddb75bdc80da873b5edb (patch)
tree5aec831c22db9ff0326d701b03059b09ead59aaf /net/switchdev/switchdev.c
parent505ce4154ac86c250aa4a84a536dd9fc56479bb5 (diff)
net: Verify permission to link_net in newlink
When applicable verify that the caller has permisson to the underlying network namespace for a newly created network device. Similary checks exist for the network namespace a network device will be created in. Fixes: 317f4810e45e ("rtnl: allow to create device with IFLA_LINK_NETNSID set") Signed-off-by: "Eric W. Biederman" <[email protected]> Acked-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions