[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kernel/1804: Networking Panic in 2.9
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, May 01, 2001 at 04:17:06PM +0200, Camiel Dobbelaar wrote:
> I got the same thing on a very low traffic firewall box just now.
>
> I don't know assembly, but it may be worthwhile to doublecheck this
> change by Niklas:
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/i386/in_cksum.s.diff?r1=1.1&r2=1.1.16.1&f=h
Nah, that's not it, man. we only get to that part of the code (which is the
right way to do it anyway) by the little test up in in_cksum1:
in_cksum1: orl %edi, %edi # if (%edi == 0)
je in_cksum47 # goto in_cksum47
orl %ebp, %ebp # if (%ebp == NULL)
je in_cksum49 # panic()
EBP contains our mbuf pointer, and it's gone away or been stepped on somewhere.
More ipf tomfoolery, I imagine, but in_cksum gets called all over the place...
- --
Erik Fichtner
Security Administrator, ServerVault, Inc.
703-333-5900
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE67soxQ7EzrewLMS0RAtJXAKDdVt1LREqbDAIO+p0UMNYNw/WtzwCfcqFG
fkdRmRnU9RYcOdx19nLQotQ=
=zfyq
-----END PGP SIGNATURE-----