]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/bridge: Update br_mdb_dump for strict data checking
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:42 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:05 +0000 (10:39 -0700)
commitc77b93641e7dc88ef4919d8126949e3ec3ffe407
tree29bc7d0e960f62221a4a33031c39b3415ac52748
parentaddd383f5a0ba9bf8336be3cc8b7a2916c08a77a
net/bridge: Update br_mdb_dump for strict data checking

Update br_mdb_dump for strict data checking. If the flag is set,
the dump request is expected to have a br_port_msg struct as the
header. All elements of the struct are expected to be 0 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/bridge/br_mdb.c