summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-08 06:16:30 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-08 20:39:04 +0300
commit905cf0abe8c2c892313f08e38d808eee4e794987 (patch)
treea5d0616ae9b925c5f7e0f7273c745eb726cf9e41 /tools/perf/scripts/python/call-graph-from-sql.py
parented6eff11790a5bf1ce9b0421667e46ab1cf368f4 (diff)
downloadlinux-905cf0abe8c2c892313f08e38d808eee4e794987.tar.xz
rtnetlink: Update rtnl_dump_ifinfo for strict data checking
Update rtnl_dump_ifinfo for strict data checking. If the flag is set, the dump request is expected to have an ifinfomsg struct as the header potentially followed by one or more attributes. Any data passed in the header or as an attribute is taken as a request to influence the data returned. Only values supported by the dump handler are allowed to be non-0 or set in the request. At the moment only the IFA_TARGET_NETNSID, IFLA_EXT_MASK, IFLA_MASTER, and IFLA_LINKINFO attributes are supported. Existing code does not fail the dump if nlmsg_parse fails. That behavior is kept for non-strict checking. Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: Christian Brauner <christian@brauner.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions