Summary: | Dummynet Kernel Panic | ||
---|---|---|---|
Product: | Base System | Reporter: | Alexander <bezzubov> |
Component: | kern | Assignee: | Eugene Grosbein <eugen> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Only Me | CC: | ae, eugen, feld, laa88rf, ports |
Priority: | --- | Keywords: | crash, needs-qa |
Version: | 10.3-RELEASE | Flags: | koobs:
mfc-stable11?
koobs: mfc-stable10? |
Hardware: | amd64 | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162558 |
Description
Alexander
2016-05-12 15:51:57 UTC
I found resolve as I think. I had 2 pipes: #1: pipe tablearg log logamount 10000 ip from any to table(60) out pipe tablearg log logamount 10001 ip from table(61) to any in #2: pipe with 128Kbit/s and I have php script, which by cron every minute connect to mysql and put in pipe #2 IP which <0 balance in billing. I think that on any moment one IP may be in one and in the second pipe. And its crashed core by dummynet. It looks like interface, where a packet was received and then delayed for some time in the dummynet pipe, has been disappeared. And panic occurs when ip_input() tries to get access to stale ifnet data. (In reply to Andrey V. Elsukov from comment #2) See also my PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162558 I have similar problem and similar crash backtrace. (In reply to eugen from comment #3) > (In reply to Andrey V. Elsukov from comment #2) > > See also my PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162558 > I have similar problem and similar crash backtrace. I don't see the easy way to fix this problem. The only way that can be applied to current code - do delayed destroy of ifnet structures in a garbage collector task thread. IMHO. I confirm. I have the same problem, but in mpd5. If necessary, then I preloaded the logs. I apologize, earlier I was not engaged in the publication of reports and bugs. Please try a patch proposed in PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222617. Also, you may find usable another fix from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220076 if you use netgraph interfaces ng_iface(4) named like ngXXX. *** This bug has been marked as a duplicate of bug 222617 *** |