macsec: add consistency check to netlink dumps
commit96cfc5052c5d434563873caa7707b32b9e389b16
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 22 Apr 2016 09:28:05 +0000 (22 11:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2016 18:31:58 +0000 (24 14:31 -0400)
treeaabf940f183470c62512bb1852bbacc8ba3e18fe
parentc3b7d0bd7ac2c501d4806db71ddd383c184968e8
macsec: add consistency check to netlink dumps

Use genl_dump_check_consistent in dump_secy.

Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
Suggested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c