commit | 8dfbda19a21b30475b7e6dcf2141a98ed2a19af5 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Sun Oct 07 20:16:43 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 08 10:39:05 2018 -0700 |
tree | 534fb338375a56f3dfeb3066a6e7f85c3017866e | |
parent | c77b93641e7dc88ef4919d8126949e3ec3ffe407 [diff] |
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>