diff options
author | dillon <dillon@FreeBSD.org> | 2002-03-20 04:05:26 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-03-20 04:05:26 +0000 |
commit | 24fdcd89ad7474e39c39b6ae22c234c6b0d5b40c (patch) | |
tree | c5d7062c28d7b4e170985fb4044a6f0a976d4d9e /sys/kern/uipc_domain.c | |
parent | 9ef9bf2eafae98b3e22da0b2e655ede34057de17 (diff) | |
download | FreeBSD-src-24fdcd89ad7474e39c39b6ae22c234c6b0d5b40c.zip FreeBSD-src-24fdcd89ad7474e39c39b6ae22c234c6b0d5b40c.tar.gz |
Fix a bug introduced in 1.11 (and also MFCd to stable AND the security branch)
that causes a machine to panic when the kernel PPP / DEFLATE code is used.
1.11 moved a ZFREE to a point after the structural members were clobbered
by stores into a union'd structure.
This commit fixes the bug and adds a big whopping comment to make sure
the code isn't 'cleaned up' again :-)
Ian Dowse came up with the same patch independantly 68 seconds before I
did, talk about Karma!
I would also like to thank Eugene Grosbein for marathon work in tracking the
problem down by udpating his -stable based on date over and over again
to close in on the commit that caused his crashes.
PR: kern/35969
Reviewed by: Ian Dowse <iedowse@maths.tcd.ie>
X-MFC after: immediately
Diffstat (limited to 'sys/kern/uipc_domain.c')
0 files changed, 0 insertions, 0 deletions