diff options
| author | Dan Carpenter <[email protected]> | 2024-09-14 09:56:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-09-15 15:33:12 +0000 |
| commit | 7052622fccb1efb850c6b55de477f65d03525a30 (patch) | |
| tree | c9aca28a5a36578d3187d75df26b9834362b6729 /drivers/net/netkit.c | |
| parent | Merge tag 'linux-can-fixes-for-6.11-20240912' of git://git.kernel.org/pub/scm... (diff) | |
| download | kernel-7052622fccb1efb850c6b55de477f65d03525a30.tar.gz kernel-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 <[email protected]>
Acked-by: Florian Westphal <[email protected]>
Acked-by: Pablo Neira Ayuso <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions
