]> git.baikalelectronics.ru Git - kernel.git/commit
genetlink: limit the use of validation workarounds to old ops
authorJakub Kicinski <kuba@kernel.org>
Wed, 26 Oct 2022 00:15:24 +0000 (17:15 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Oct 2022 15:20:21 +0000 (08:20 -0700)
commit4a1bfc4113dca170b3a15b8a443d7cc4e89ed43e
treeb7d71f1caa4b4ea858254485ff5918b10ce1cefd
parentc4cb41b97dfc8b89e98dfd42fdedc0fb2a08cc43
genetlink: limit the use of validation workarounds to old ops

During review of previous change another thing came up - we should
limit the use of validation workarounds to old commands.
Don't list the workarounds one by one, as we're rejecting all existing
ones. We can deal with the masking in the unlikely event that new flag
is added.

Link: https://lore.kernel.org/all/6ba9f727e555fd376623a298d5d305ad408c3d47.camel@sipsolutions.net/
Link: https://lore.kernel.org/r/20221026001524.1892202-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/netlink/genetlink.c