NetBSD Problem Report #60974

From www@netbsd.org  Fri Nov  6 16:12:12 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B644E1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  6 Nov 2026 16:12:12 +0000 (UTC)
Message-Id: <20261106161211.CA9F81A923C@mollari.NetBSD.org>
Date: Fri,  6 Nov 2026 16:12:11 +0000 (UTC)
From: joe@eloisystems.com
Reply-To: joe@eloisystems.com
To: gnats-bugs@NetBSD.org
Subject: NPF Layer 2 filtering not registering properly
X-Send-Pr-Version: www-1.0
X-From4GNATS: "joe@eloisystems.com via gnats" <gnats-admin@NetBSD.org>

>Number:         60974
>Category:       kern
>Synopsis:       NPF Layer 2 filtering not registering properly
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 06 16:15:00 +0000 2026
>Last-Modified:  Fri Nov 06 16:25:02 +0000 2026
>Originator:     Emmanuel Nyarko
>Release:        NetBSD 11
>Organization:
NetBSD
>Environment:
NetBSD taco.eloisystems.com 11.0_STABLE NetBSD 11.0_STABLE (GENERIC) 
>Description:

L2 hookes registreation seems to exit on success return.
>How-To-Repeat:

run layer 2 rules
>Fix:

yes please.

>Audit-Trail:
From: "Emmanuel" <joe@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60974 CVS commit: src/sys/net/npf
Date: Fri, 6 Nov 2026 16:22:38 +0000

 Module Name:	src
 Committed By:	joe
 Date:		Fri Nov  6 16:22:38 UTC 2026

 Modified Files:
 	src/sys/net/npf: npf_os.c

 Log Message:
 PR kern/60974

 break on error and not on success.

 more rump tests incoming and needs pullup


 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 src/sys/net/npf/npf_os.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.