Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 11:54:04 +0700 (ALMST)
From:      Boris Popov <bp@butya.kz>
To:        Bosko Milekic <bmilekic@dsuper.net>
Cc:        hackers@freebsd.org
Subject:   Re: ether_output() : WIERD PROBLEM
Message-ID:  <Pine.BSF.4.10.10006141150520.38916-100000@lion.butya.kz>
In-Reply-To: <Pine.BSF.4.21.0006131735350.394-100000@jehovah.technokratis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Jun 2000, Bosko Milekic wrote:

>   What happens is that one of my daemons, for example, natd, or httpd,
>   etc., performs a system call, which eventually results in a call to
>   ether_output (following tcp_output, ip_output, etc.). At the bottom of
>   ether_output(), after an IF_ENQUEUE, and an splx(s), there is the
>   following check:
>   
>   		if (m->m_flags & M_MCAST)
> 			ifp->if_omcasts++;


	This is because mbuf can be not valid after splx() call. Eg, it
can be already sent and freed. I've discovered this bug about 3 month ago
and wonder why it still doesn't commited :)

--
Boris Popov
http://www.butya.kz/~bp/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10006141150520.38916-100000>