freebsd-skq/sys/net
Brian Somers 3bb3b0463e Fix this damn mbuf with a negative m_len. It turns
out to be a problem with VJ header compression.
davidg spotted this in usr.sbin/ppp/slcompress.c
a while ago, but I believe gave the wrong reasons -
it's too easy to reproduce !  The only scenario that
I've been able to reproduce the problem under is when
m_len is *exactly* 40 !  So go figure !

PR:		3749
Submitted elsewhere by:	davidg
Obtained from: usr.sbin/ppp/slcompress.c
1997-06-22 02:19:53 +00:00
..
bpf_compat.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bpf_filter.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bpf.c Don't include <sys/ioctl.h> in the kernel. Stage 6: include 1997-03-24 12:12:36 +00:00
bpf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bpfdesc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bsd_comp.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ethernet.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
fddi.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
hostcache.c Add for public examination the beginnings of the per-host cache support 1997-06-18 01:24:28 +00:00
hostcache.h Add for public examination the beginnings of the per-host cache support 1997-06-18 01:24:28 +00:00
if_arp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_atm.h import Chuck Cranor's ATM driver 1997-05-09 07:48:14 +00:00
if_atmsubr.c import Chuck Cranor's ATM driver 1997-05-09 07:48:14 +00:00
if_disc.c Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
if_dl.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_ethersubr.c Use the MAC address of an interface for the host part of an IPX address 1997-05-10 10:01:32 +00:00
if_fddisubr.c Use the MAC address of an interface for the host part of an IPX address 1997-05-10 10:01:32 +00:00
if_llc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_loop.c Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
if_media.c Make it compile on FreeBSD, add $Id$ 1997-05-03 20:58:10 +00:00
if_media.h Make it compile on FreeBSD, add $Id$ 1997-05-03 20:58:10 +00:00
if_mib.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_mib.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_ppp.c Bruce mentioned to me that Paul Traina had noticed that the ppp_tty 1997-05-31 10:13:46 +00:00
if_ppp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_pppvar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_sl.c Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
if_slvar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_sppp.h Introduce a third queue per interface, serving only PPP control 1997-05-22 22:15:39 +00:00
if_spppsubr.c Fix a couple of log()'s that came out with the wrong (default) 1997-05-23 20:40:15 +00:00
if_tun.c As the Tunnel device has no real inherrent MRU limit, 1997-06-11 20:15:50 +00:00
if_tun.h As the Tunnel device has no real inherrent MRU limit, 1997-06-11 20:15:50 +00:00
if_types.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_var.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if.c add SIOC{S,G}IFMEDIA ioctl support 1997-05-03 21:07:13 +00:00
if.h add SIOC{S,G}IFMEDIA ioctl support 1997-05-03 21:07:13 +00:00
netisr.h merge ATM driver 1997-05-09 12:19:06 +00:00
ppp_comp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ppp_defs.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ppp_tty.c Fix this damn mbuf with a negative m_len. It turns 1997-06-22 02:19:53 +00:00
radix.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
radix.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
raw_cb.c The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
raw_cb.h The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
raw_usrreq.c The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
route.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
route.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rtsock.c The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
slcompress.c Fix this damn mbuf with a negative m_len. It turns 1997-06-22 02:19:53 +00:00
slcompress.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
slip.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00