]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtnetlink: Move input checking for rtnl_fdb_dump to helper
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:43 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:05 +0000 (10:39 -0700)
commit8dfbda19a21b30475b7e6dcf2141a98ed2a19af5
tree534fb338375a56f3dfeb3066a6e7f85c3017866e
parentc77b93641e7dc88ef4919d8126949e3ec3ffe407
rtnetlink: Move input checking for rtnl_fdb_dump to helper

Move the existing input checking for rtnl_fdb_dump into a helper,
valid_fdb_dump_legacy. This function will retain the current
logic that works around the 2 headers that userspace has been
allowed to send up to this point.

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/core/rtnetlink.c