Commit af06394
committed
Revert "sys/socket.h: Fix AF_MAX"
This reverts commit 33a943e.
PR: https://forum.opnsense.org/index.php?topic=52691.0
Causes reports of kernel panics the likes of:
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x218361fa00
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80c4d7a7
stack pointer = 0x28:0xfffffe00d3332ab0
frame pointer = 0x28:0xfffffe00d3332ab0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (netlink_socket (PID)
rdi: 000000218361fa00 rsi: 0000000000000000 rdx: 0000000000000000
rcx: 000000000000000c r8: 0000000000000000 r9: 0000000000000fff
rax: 0000000000000000 rbx: fffffe00d3332d40 rbp: fffffe00d3332ab0
r10: 0000000000000000 r11: 0000000000000000 r12: 0000000000000058
r13: 0000000000000058 r14: fffff80001b46000 r15: fffff8013d91b0a8
trap number = 12
panic: page fault
cpuid = 1
time = 1786547747
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00d3332800
vpanic() at vpanic+0x136/frame 0xfffffe00d3332930
panic() at panic+0x43/frame 0xfffffe00d3332990
trap_pfault() at trap_pfault+0x37d/frame 0xfffffe00d33329e0
calltrap() at calltrap+0x8/frame 0xfffffe00d33329e0
--- trap 0xc, rip = 0xffffffff80c4d7a7, rsp = 0xfffffe00d3332ab0, rbp = 0xfffffe00d3332ab0 ---
counter_u64_fetch() at counter_u64_fetch+0x57/frame 0xfffffe00d3332ab0
dump_iface() at dump_iface+0x4ec/frame 0xfffffe00d3332b50
dump_cb() at dump_cb+0x1c/frame 0xfffffe00d3332b70
if_foreach_sleep() at if_foreach_sleep+0x227/frame 0xfffffe00d3332bf0
rtnl_handle_getlink() at rtnl_handle_getlink+0x257/frame 0xfffffe00d3332cd0
rtnl_handle_message() at rtnl_handle_message+0x195/frame 0xfffffe00d3332d30
nl_taskqueue_handler() at nl_taskqueue_handler+0x469/frame 0xfffffe00d3332e40
taskqueue_run_locked() at taskqueue_run_locked+0x182/frame 0xfffffe00d3332ec0
taskqueue_thread_loop() at taskqueue_thread_loop+0xc2/frame 0xfffffe00d3332ef0
fork_exit() at fork_exit+0x7b/frame 0xfffffe00d3332f30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00d3332f30
--- trap 0x6, rip = 0x1c1f86083327, rsp = 0x101, rbp = 0x2710 ---
KDB: enter: panic1 parent 7067fa3 commit af06394
9 files changed
Lines changed: 14 additions & 16 deletions
File tree
- lib/libifconfig
- sys
- kern
- netlink/route
- net
- route
- sys
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2620 | 2620 | | |
2621 | 2621 | | |
2622 | 2622 | | |
2623 | | - | |
| 2623 | + | |
2624 | 2624 | | |
2625 | 2625 | | |
2626 | 2626 | | |
| |||
2644 | 2644 | | |
2645 | 2645 | | |
2646 | 2646 | | |
2647 | | - | |
| 2647 | + | |
2648 | 2648 | | |
2649 | 2649 | | |
2650 | 2650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
| 976 | + | |
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
| |||
1036 | 1036 | | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | | - | |
| 1039 | + | |
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
| 1062 | + | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
| 274 | + | |
277 | 275 | | |
278 | 276 | | |
279 | 277 | | |
| |||
0 commit comments