]> 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)
commit220f122f6666840852cf579f9f3891447ca87664
treeb7d71f1caa4b4ea858254485ff5918b10ce1cefd
parentd6e9431a6c9de9a28f6b7d63272a9ac4672cbace
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