Re: [PATCH net-next] netlabel: remove impossible return value in netlbl_bitmap_walk
From: Jiri Pirko <jiri@resnulli.us>
Date: 2024-02-27 12:35:29
Also in:
linux-security-module
From: Jiri Pirko <jiri@resnulli.us>
Date: 2024-02-27 12:35:29
Also in:
linux-security-module
Tue, Feb 27, 2024 at 10:36:04AM CET, shaozhengchao@huawei.com wrote:
Since commit 446fda4f2682 ("[NetLabel]: CIPSOv4 engine"), *bitmap_walk
function only returns -1. Nearly 18 years have passed, -2 scenes never
come up, so there's no need to consider it.
Signed-off-by: Zhengchao Shao <redacted>Reviewed-by: Jiri Pirko <redacted>