diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-09-14 12:56:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-15 08:33:12 -0700 |
commit | 7052622fccb1efb850c6b55de477f65d03525a30 (patch) | |
tree | c9aca28a5a36578d3187d75df26b9834362b6729 /drivers/gpu/drm/amd/display/dmub | |
parent | 36f6b72cb8554575f571f14796939ed22ea3da3a (diff) | |
download | lwn-7052622fccb1efb850c6b55de477f65d03525a30.tar.gz lwn-7052622fccb1efb850c6b55de477f65d03525a30.zip |
netfilter: nft_socket: Fix a NULL vs IS_ERR() bug in nft_socket_cgroup_subtree_level()
The cgroup_get_from_path() function never returns NULL, it returns error
pointers. Update the error handling to match.
Fixes: 7f3287db6543 ("netfilter: nft_socket: make cgroupsv2 matching work with namespaces")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Link: https://patch.msgid.link/bbc0c4e0-05cc-4f44-8797-2f4b3920a820@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub')
0 files changed, 0 insertions, 0 deletions