]> git.baikalelectronics.ru Git - kernel.git/commit
net/neighbor: Update neightbl_dump_info for strict data checking
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:37 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:05 +0000 (10:39 -0700)
commit983cf3ee8adb0d4951a5d8c9022af2f1398db459
tree3fc5feae557c2f6918f245979f4429bb8e04172a
parent0bb9996691c978afce46a4a482b465b23cdb47e2
net/neighbor: Update neightbl_dump_info for strict data checking

Update neightbl_dump_info for strict data checking. If the flag is set,
the dump request is expected to have an ndtmsg 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/core/neighbour.c