diff options
| author | Alexey Velichayshiy <a.velichayshiy@ispras.ru> | 2025-12-10 16:51:33 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-12-14 18:35:56 -0600 |
| commit | 8dd2e58b62731a96e276ee0545fb910ffb2057d9 (patch) | |
| tree | b294cf76b3e1844731c847b6a96247817d7b87e6 /net/ipv6/sysctl_net_ipv6.c | |
| parent | 0446356e9f29d81757dc64ae7c61743e28d91ac0 (diff) | |
ksmbd: remove redundant DACL check in smb_check_perm_dacl
A zero value of pdacl->num_aces is already handled at the start of
smb_check_perm_dacl() so the second check is useless.
Drop the unreachable code block, no functional impact intended.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Alexey Velichayshiy <a.velichayshiy@ispras.ru>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
0 files changed, 0 insertions, 0 deletions
