Date: Sun, 16 Nov 2003 19:17:49 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_divert.c ip_input.c Message-ID: <200311170317.hAH3HnIW057958@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 2003/11/16 19:17:49 PST
FreeBSD src repository
Modified files:
sys/netinet ip_divert.c ip_input.c
Log:
Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, but
do not have mh_nextpkt initialized. Somtimes what's there is "1", and the
ip_input() code pukes trying to m_free() it, rendering divert sockets and
such broken.
This really underscores the need to get rid of MT_TAG.
Reviewed by: rwatson
Revision Changes Path
1.78 +1 -0 src/sys/netinet/ip_divert.c
1.256 +2 -0 src/sys/netinet/ip_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311170317.hAH3HnIW057958>
