Summary: | panic: negative refcount after dhclient during boot | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Rink Springer <rink> | ||||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | ae, eri | ||||||
Priority: | --- | ||||||||
Version: | CURRENT | ||||||||
Hardware: | mips | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Rink Springer
![]() ![]() Created attachment 158408 [details]
Kernel configuration file
It t It turns out that reverting r285051 fixes the panic and lets the system boot okay. A commit references this bug: Author: eri Date: Thu Jul 9 16:28:37 UTC 2015 New revision: 285325 URL: https://svnweb.freebsd.org/changeset/base/285325 Log: Correct issue presented in r285051, apparently neither clang nor gcc complain about this. But clang intis the var to NULL correctly while gcc on at least mips does not. Correct the undefined behavior by initializing the variable properly. PR: 201371 Differential Revision: https://reviews.freebsd.org/D3036 Reviewed by: gnn Approved by: gnn(mentor) Changes: head/sys/netinet/ip_input.c |