summaryrefslogtreecommitdiff
path: root/net/ethernet
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2018-01-29 20:07:20 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-31 18:26:29 +0300
commit5bb8ed075428b71492734af66230aa0c07fcc515 (patch)
tree7a300c304b73cc2565e8e97e8902a7d4300cc122 /net/ethernet
parent91e6dd8284256ef62b43b78da6e7684e4f06ac2f (diff)
downloadlinux-5bb8ed075428b71492734af66230aa0c07fcc515.tar.xz
rtnetlink: enable IFLA_IF_NETNSID for RTM_NEWLINK
- Backwards Compatibility: If userspace wants to determine whether RTM_NEWLINK supports the IFLA_IF_NETNSID property they should first send an RTM_GETLINK request with IFLA_IF_NETNSID on lo. If either EACCESS is returned or the reply does not include IFLA_IF_NETNSID userspace should assume that IFLA_IF_NETNSID is not supported on this kernel. If the reply does contain an IFLA_IF_NETNSID property userspace can send an RTM_NEWLINK with a IFLA_IF_NETNSID property. If they receive EOPNOTSUPP then the kernel does not support the IFLA_IF_NETNSID property with RTM_NEWLINK. Userpace should then fallback to other means. - Security: Callers must have CAP_NET_ADMIN in the owning user namespace of the target network namespace. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions