Date: Tue, 16 Sep 2003 21:47:59 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: hackers@freebsd.org Subject: Re: 4.8-stable kernel panic (fwd) Message-ID: <20030916214707.K47434@cvs.imp.ch>
next in thread | raw e-mail | index | archive | help
>From: David Rhodus <drhodus@catpa.com> >To: sysadmin@wvths.com >Cc: Martin Blapp <mb@imp.ch>, mbr@freebsd.org, hackers@freebsd.org >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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030916214707.K47434>