Re: kern/60351 (l2tp(4): panic: kernel diagnostic assertion "!simplehook_has_hooks(ifp->if_linkstate_hooks)" failed: file "/home/riastradh/netbsd/11/src/sys/net/if.c", line 1544)

[email protected]
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
Synopsis: l2tp(4): panic: kernel diagnostic assertion "!simplehook_has_hooks(ifp->if_linkstate_hooks)" failed: file "/home/riastradh/netbsd/11/src/sys/net/if.c", line 1544

Responsible-Changed-From-To: kern-bug-people->yamaguchi
Responsible-Changed-By: [email protected]
Responsible-Changed-When: Mon, 29 Jun 2026 16:32:16 +0000
Responsible-Changed-Why:
Thanks, can I trouble you to add an automatic test for this too?


State-Changed-From-To: open->needs-pullups
State-Changed-By: [email protected]
State-Changed-When: Mon, 29 Jun 2026 16:32:16 +0000
State-Changed-Why:
fixed in HEAD, needs pullups to 11, 10, and 9, probably

https://mail-index.netbsd.org/source-changes/2026/06/29/msg162671.html

Module Name:    src
Committed By:   yamaguchi
Date:           Mon Jun 29 06:07:21 UTC 2026

Modified Files:
        src/sys/net: if_ethersubr.c

Log Message:
Properly add a hook to ec->ec_ifdetach_hooks for l2tp(4)

Fixes kern/60351


To generate a diff of this commit:
cvs rdiff -u -r1.335 -r1.336 src/sys/net/if_ethersubr.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.