freebsd-nq/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 Make bpf's read timeout feature work more correctly with 2001-12-14 22:17:54 +00:00
bridge.c Add hooks for very basic IPFilter support in bridging. Set, 2002-03-18 00:55:23 +00:00
bridge.h Lots of improvement to the bridging code. 2002-02-15 05:11:11 +00:00
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 bring in ARP support for variable length link level addresses 2001-10-14 20:17:53 +00:00
if_atm.h Remove __P. 2002-03-19 21:54:18 +00:00
if_atmsubr.c
if_disc.c minor style fix. 2001-12-14 19:28:06 +00:00
if_dl.h Remove __P. 2002-03-19 21:54:18 +00:00
if_ef.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
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 whitespace fixes. 2001-12-14 19:32:47 +00:00
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 The interface index space may be sparsely populated (e.g. when an 2001-10-17 04:12:29 +00:00
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 sc_lasttime and sc_starttime are time_t's, not long's. 2001-10-27 20:31:24 +00:00
if_sppp.h Implement an option to administratively disable the negotiation of 2001-12-30 20:42:29 +00:00
if_spppsubr.c Implement an option to administratively disable the negotiation of 2001-12-30 20:42:29 +00:00
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 Add cloning support for the tap(4) device similar to that in the tun(4) 2001-09-05 01:06:21 +00:00
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 Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
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 printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
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 Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
raw_cb.h Remove __P. 2002-03-19 21:54:18 +00:00
raw_usrreq.c Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
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