freebsd-dev/sys/net
Matthew Dillon e38eb7fbe4 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
2002-03-20 04:05:26 +00:00
..
bpf_compat.h
bpf_filter.c Remove __P. 2002-03-19 21:54:18 +00:00
bpf.c Remove __P. 2002-03-19 21:54:18 +00:00
bpf.h Remove __P. 2002-03-19 21:54:18 +00:00
bpfdesc.h
bridge.c Add hooks for very basic IPFilter support in bridging. Set, 2002-03-18 00:55:23 +00:00
bridge.h
bsd_comp.c Remove __P. 2002-03-19 21:54:18 +00:00
ethernet.h Remove __P. 2002-03-19 21:54:18 +00:00
fddi.h Remove __P. 2002-03-19 21:54:18 +00:00
if_arc.h Remove __P. 2002-03-19 21:54:18 +00:00
if_arcsubr.c Remove __P. 2002-03-19 21:54:18 +00:00
if_arp.h
if_atm.h Remove __P. 2002-03-19 21:54:18 +00:00
if_atmsubr.c
if_disc.c
if_dl.h Remove __P. 2002-03-19 21:54:18 +00:00
if_ef.c
if_ethersubr.c Remove __P. 2002-03-19 21:54:18 +00:00
if_faith.c Remove __P. 2002-03-19 21:54:18 +00:00
if_fddisubr.c Remove __P. 2002-03-19 21:54:18 +00:00
if_gif.c Remove __P. 2002-03-19 21:54:18 +00:00
if_gif.h Remove __P. 2002-03-19 21:54:18 +00:00
if_ieee80211.h
if_iso88025subr.c
if_llc.h
if_loop.c Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
if_media.c Remove __P. 2002-03-19 21:54:18 +00:00
if_media.h Remove __P. 2002-03-19 21:54:18 +00:00
if_mib.c
if_mib.h
if_ppp.c Remove __P. 2002-03-19 21:54:18 +00:00
if_ppp.h
if_pppvar.h Remove __P. 2002-03-19 21:54:18 +00:00
if_sl.c Remove __P. 2002-03-19 21:54:18 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c
if_stf.c Remove __P. 2002-03-19 21:54:18 +00:00
if_stf.h Remove __P. 2002-03-19 21:54:18 +00:00
if_tap.c Remove __P. 2002-03-19 21:54:18 +00:00
if_tap.h
if_tapvar.h
if_tun.c minor style(9) fix: return (foo); The file was mostly style(9) before. 2002-02-26 03:00:19 +00:00
if_tun.h
if_tunvar.h
if_types.h
if_var.h Remove __P. 2002-03-19 21:54:18 +00:00
if_vlan_var.h Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
if_vlan.c Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
if.c Remove __P. 2002-03-19 21:54:18 +00:00
if.h Remove __P. 2002-03-19 21:54:18 +00:00
intrq.c
intrq.h Remove __P. 2002-03-19 21:54:18 +00:00
iso88025.h
net_osdep.c
net_osdep.h Remove __P. 2002-03-19 21:54:18 +00:00
netisr.h Remove __P. 2002-03-19 21:54:18 +00:00
pfil.c Remove __P. 2002-03-19 21:54:18 +00:00
pfil.h Remove __P. 2002-03-19 21:54:18 +00:00
pfkeyv2.h
ppp_comp.h Remove __P. 2002-03-19 21:54:18 +00:00
ppp_deflate.c Remove __P. 2002-03-19 21:54:18 +00:00
ppp_defs.h
ppp_tty.c Remove __P. 2002-03-19 21:54:18 +00:00
radix.c Remove __P. 2002-03-19 21:54:18 +00:00
radix.h Remove __P. 2002-03-19 21:54:18 +00:00
raw_cb.c
raw_cb.h Remove __P. 2002-03-19 21:54:18 +00:00
raw_usrreq.c
route.c Remove __P. 2002-03-19 21:54:18 +00:00
route.h Remove __P. 2002-03-19 21:54:18 +00:00
rtsock.c Remove __P. 2002-03-19 21:54:18 +00:00
slcompress.c
slcompress.h Remove __P. 2002-03-19 21:54:18 +00:00
slip.h
zlib.c Fix a bug introduced in 1.11 (and also MFCd to stable AND the security branch) 2002-03-20 04:05:26 +00:00
zlib.h