From: David S. Miller Date: Mon, 7 Nov 2022 12:30:17 +0000 (+0000) Subject: Merge branch 'genetlink-per-op-type-policies' X-Git-Tag: v6.6.7~3913^2~268 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf46390f39c686d62afeae9845860e63886d63b7;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'genetlink-per-op-type-policies' Jakub Kicinski says: ==================== genetlink: support per op type policies While writing new genetlink families I was increasingly annoyed by the fact that we don't support different policies for do and dump callbacks. This makes it hard to do proper input validation for dumps which usually have a lot more narrow range of accepted attributes. There is also a minor inconvenience of not supporting different per_doit and post_doit callbacks per op. This series addresses those problems by introducing another op format. v3: - minor fixes to patch 12 after I took it for a spin with a real family - adjust commit msg in patch 8 v2: https://lore.kernel.org/all/20221102213338.194672-1-kuba@kernel.org/ - wait for net changes to propagate - restore the missing comment in patch 1 - drop extra space in patch 3 - improve commit message in patch 4 v1: https://lore.kernel.org/all/20221018230728.1039524-1-kuba@kernel.org/ ==================== Signed-off-by: David S. Miller --- bf46390f39c686d62afeae9845860e63886d63b7