net: devlink: fix reporter dump dumpit
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Oct 2019 07:28:31 +0000 (09:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2019 13:08:45 +0000 (09:08 -0400)
commit82a843de41d42681c1bbf9194b28736d06050b08
tree5bc1f38ff12878ca89d99158f3c9cfa26a67720e
parent056ddc38e94105a7ee982ca06cc19448fc927f6f
net: devlink: fix reporter dump dumpit

In order for attrs to be prepared for reporter dump dumpit callback,
set GENL_DONT_VALIDATE_DUMP_STRICT instead of GENL_DONT_VALIDATE_DUMP.

Fixes: ee85da535fe3 ("devlink: have genetlink code to parse the attrs during dumpit"
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c