Date: Fri, 27 Dec 2002 09:15:16 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridge.c Message-ID: <200212271715.gBRHFGVT029267@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/12/27 09:15:16 PST Modified files: sys/net bridge.c Log: Oops, I misread the purpose of the NULL check in EH_RESTORE() in revision 1.62. It was checking for M_PREPEND() failing, not for the case of a NULL mbuf pointer being supplied to the macro. Back out that revision, and fix the NULL dereference by not calling EH_RESTORE() in the case where the mbuf pointer is NULL because the firewall rejected the packet. Revision Changes Path 1.63 +3 -2 src/sys/net/bridge.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212271715.gBRHFGVT029267>