kernel: mfree: m->m_nextpkt != NULL

Jeroen Ruigrok/asmodai asmodai at in-nomine.org
Tue Sep 20 06:11:42 PDT 2005


-On [20050920 14:05], Dave Hayes (dave at xxxxxxxxxxx) wrote:
>I look forward to your modification. Thanks in advance.

Demizu-san's modification as patch:

save attachment to $HOME
cd /usr/src
patch -p0 < $HOME/sys-netinet-ip_input.c.diff

and rebuild/reinstall kernel.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://www.andf.info/
http://www.tendra.org/   | http://www.in-nomine.org/
The Wheels of Life, they turn, ..., without me...
Index: sys/netinet/ip_input.c
===================================================================
RCS file: /home/ncvs/DragonFly/src/sys/netinet/ip_input.c,v
retrieving revision 1.58
diff -u -r1.58 ip_input.c
--- sys/netinet/ip_input.c	31 Aug 2005 22:21:23 -0000	1.58
+++ sys/netinet/ip_input.c	20 Sep 2005 12:59:37 -0000
@@ -1368,6 +1368,7 @@
 	while (fp->ipq_frags) {
 		q = fp->ipq_frags;
 		fp->ipq_frags = q->m_nextpkt;
+		q->m_nextpkt = NULL;
 		m_freem(q);
 	}
 	remque(fp);




More information about the Kernel mailing list