]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: Update inet6_dump_ifinfo for strict data checking
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:33 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:04 +0000 (10:39 -0700)
commit4b6ed1b7f6232f0eafaf5823bc67e9458a702c43
tree4be30eb6571de5450fb71a6afa882237c6acb5fa
parent0b230e7273fdc1d9c1a81d8490f8366eabbed934
rtnetlink: Update inet6_dump_ifinfo for strict data checking

Update inet6_dump_ifinfo for strict data checking. If the flag is
set, the dump request is expected to have an ifinfomsg 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/ipv6/addrconf.c