diff options
author | David Ahern <dsahern@gmail.com> | 2018-10-07 20:16:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 10:39:04 -0700 |
commit | ed6eff11790a5bf1ce9b0421667e46ab1cf368f4 (patch) | |
tree | b61b605ca7fa5b7b12bdfe1f2f35fd83f75034a1 /net/core | |
parent | c33078e3dfb194489b2f0875f078dc76647cfecf (diff) | |
download | linux-ed6eff11790a5bf1ce9b0421667e46ab1cf368f4.tar.gz linux-ed6eff11790a5bf1ce9b0421667e46ab1cf368f4.tar.bz2 linux-ed6eff11790a5bf1ce9b0421667e46ab1cf368f4.zip |
net/ipv6: Update inet6_dump_addr for strict data checking
Update inet6_dump_addr for strict data checking. If the flag is set, the
dump request is expected to have an ifaddrmsg 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 suppored by the dump handler are allowed to be
non-0 or set in the request. At the moment only the IFA_TARGET_NETNSID
attribute is supported. Follow on patches can add support for other fields
(e.g., honor ifa_index and only return data for the given device index).
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 'net/core')
0 files changed, 0 insertions, 0 deletions