summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-10-03 11:44:42 +0300
committerDavid S. Miller <davem@davemloft.net>2020-10-04 00:18:29 +0300
commit899b07c5787fbc6d2be51d0ea31721c8c2165458 (patch)
treeeffd964f707ecb11e584b9979138bbf5d6dc2458 /include/net
parent678cdd4967081b3035027b346d10f6f38bf367d2 (diff)
downloadlinux-899b07c5787fbc6d2be51d0ea31721c8c2165458.tar.xz
netlink: compare policy more accurately
The maxtype is really an integral part of the policy, and while we haven't gotten into a situation yet where this happens, it seems that some developer might eventually have two places pointing to identical policies, with different maxattr to exclude some attrs in one of the places. Even if not, it's really the right thing to compare both since the two data items fundamentally belong together. v2: - also do the proper comparison in get_policy_idx() Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions