[PATCH 4.17 07/15] net: metrics: add proper netlink validation