>From: David Rhodus <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Cc: Martin Blapp <[EMAIL PROTECTED]>, [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: 4.8-stable kernel panic
Yes, I don't think this email will make it to hackers@ because all the
email from
my office gets drop because freebsd.org''s mail server's hate me and
think everything
I sent is spam..
M_PREPEND() can fail leaving (m == NULL).
Try this and see if it will work for you.
-DR
Index: raw_ip.c
===================================================================
RCS file: /data/fbsd-cvs/ncvs/src/sys/netinet/raw_ip.c,v
retrieving revision 1.114
diff -u -r1.114 raw_ip.c
--- raw_ip.c 16 Sept 2003 14:46:40 -0000 1.114
+++ raw_ip.c 16 Sept 2003 19:50:07 -0000
@@ -288,6 +288,8 @@
return(EMSGSIZE);
}
M_PREPEND(m, sizeof(struct ip), M_TRYWAIT);
+ if (m == NULL)
+ return(ENOBUFS);
ip = mtod(m, struct ip *);
ip->ip_tos = inp->inp_ip_tos;
ip->ip_off = 0;
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"