]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Update ip6addrlbl_dump for strict data checking
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:40 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:05 +0000 (10:39 -0700)
commit60f888a88ac8b953585c46da27aa14219ec41526
tree9e732a1db755a1aa00d8d34a2100b1dd06627dcd
parente47f141807d3f00c358df3746908d76130d50f17
net/ipv6: Update ip6addrlbl_dump for strict data checking

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