NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53218 (bpf tripping over FREEd mbufs)



Synopsis: bpf tripping over FREEd mbufs

State-Changed-From-To: open->feedback
State-Changed-By: maxv%NetBSD.org@localhost
State-Changed-When: Fri, 27 Apr 2018 19:13:39 +0000
State-Changed-Why:
You may be hitting the m_defrag use-after-free. That's a known problem.
If the following panic is reached, then that's the issue you're having.
I will fix m_defrag soon anyway.

Index: ix_txrx.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/ixgbe/ix_txrx.c,v
retrieving revision 1.41
diff -u -r1.41 ix_txrx.c
--- ix_txrx.c	25 Apr 2018 08:46:19 -0000	1.41
+++ ix_txrx.c	27 Apr 2018 19:09:01 -0000
@@ -441,6 +441,7 @@
 					txr->q_mbuf_defrag_failed++;
 					return ENOBUFS;
 				}
+				panic("here's the problem");
 				m_head = m;
 				goto retry;
 			} else {





Home | Main Index | Thread Index | Old Index