summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian Brauner <christianvanbrauner@gmail.com>2018-01-24 17:26:34 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-29 19:31:06 +0300
commitb61ad68a9fe85d29d5363eb36860164a049723cf (patch)
treed08ca8888d76c28e4ebc7dc6982de304ec0cc44c /tools/perf/scripts/python/export-to-postgresql.py
parentc310bfcb6e1be993629c5747accf8e1c65fbb255 (diff)
downloadlinux-b61ad68a9fe85d29d5363eb36860164a049723cf.tar.xz
rtnetlink: enable IFLA_IF_NETNSID for RTM_DELLINK
- Backwards Compatibility: If userspace wants to determine whether RTM_DELLINK 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_DELLINK with a IFLA_IF_NETNSID property. If they receive EOPNOTSUPP then the kernel does not support the IFLA_IF_NETNSID property with RTM_DELLINK. 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions