]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - net/mpls/af_mpls.c
net: Update netconf dump handlers for strict data checking
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:41 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:05 +0000 (10:39 -0700)
commitaddd383f5a0ba9bf8336be3cc8b7a2916c08a77a
treef2284e73ad5b334505decda4c18e1fb82cf3450b
parentf2ae64bb6ba5b6a6e2271094a03d098821f4a699
net: Update netconf dump handlers for strict data checking

Update inet_netconf_dump_devconf, inet6_netconf_dump_devconf, and
mpls_netconf_dump_devconf for strict data checking. If the flag is set,
the dump request is expected to have an netconfmsg struct as the header.
The struct only has the family member and no attributes can be appended.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c
net/ipv6/addrconf.c
net/mpls/af_mpls.c