aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-07 20:16:28 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-08 10:39:04 -0700
commitc33078e3dfb194489b2f0875f078dc76647cfecf (patch)
tree7ddcdcff80309a244c30f437d82396c41fa713b8 /net/ipv6/addrconf.c
parentnetlink: Add new socket option to enable strict checking on dumps (diff)
downloadlinux-dev-c33078e3dfb194489b2f0875f078dc76647cfecf.tar.xz
linux-dev-c33078e3dfb194489b2f0875f078dc76647cfecf.zip
net/ipv4: Update inet_dump_ifaddr for strict data checking
Update inet_dump_ifaddr 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 supported 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 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 '')
0 files changed, 0 insertions, 0 deletions