netlink: consistently use NLA_POLICY_EXACT_LEN()
authorJohannes Berg <johannes.berg@intel.com>
Tue, 18 Aug 2020 08:17:31 +0000 (10:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2020 19:28:45 +0000 (12:28 -0700)
commit8140860c817f3e9f78bcd1e420b9777ddcbaa629
tree071d5135931b32c9a2e62a5fb25cd3b2b5aae6a6
parent06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd
netlink: consistently use NLA_POLICY_EXACT_LEN()

Change places that open-code NLA_POLICY_EXACT_LEN() to
use the macro instead, giving us flexibility in how we
handle the details of the macro.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireguard/netlink.c
net/bridge/br_netlink.c
net/bridge/br_vlan.c
net/mptcp/pm_netlink.c
net/sched/act_ct.c
net/sched/act_ctinfo.c
net/sched/act_gate.c
net/wireless/nl80211.c