Thread (4 messages) 4 messages, 4 authors, 2024-02-29

Re: [PATCH net-next] netlabel: remove impossible return value in netlbl_bitmap_walk

From: Paul Moore <paul@paul-moore.com>
Date: 2024-02-27 15:54:22
Also in: netdev

On Tue, Feb 27, 2024 at 4:28 AM Zhengchao Shao [off-list ref] 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>
---
 net/ipv4/cipso_ipv4.c        | 5 +----
 net/ipv6/calipso.c           | 5 +----
 net/netlabel/netlabel_kapi.c | 2 +-
 3 files changed, 3 insertions(+), 9 deletions(-)
Looks good to me, thanks for the patch.

Acked-by: Paul Moore <paul@paul-moore.com>

-- 
paul-moore.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help