summaryrefslogtreecommitdiffstats
path: root/sys/net/if_slvar.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-08-15 23:59:00 +0000
committerjulian <julian@FreeBSD.org>2001-08-15 23:59:00 +0000
commit35478e0db2b6c2bf559b202fa009a2dd0ce06fb8 (patch)
tree763b7b02cb58616cc1382ede743253ab12337aae /sys/net/if_slvar.h
parent3682fdb5a95737599e5991370e298b67840538d4 (diff)
downloadFreeBSD-src-35478e0db2b6c2bf559b202fa009a2dd0ce06fb8.zip
FreeBSD-src-35478e0db2b6c2bf559b202fa009a2dd0ce06fb8.tar.gz
Don't allocate an entire 1500 byte buffer on the stack.
May need more review in light of SMP. MFC after: 2 weeks
Diffstat (limited to 'sys/net/if_slvar.h')
-rw-r--r--sys/net/if_slvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_slvar.h b/sys/net/if_slvar.h
index 9529c81..0abb285 100644
--- a/sys/net/if_slvar.h
+++ b/sys/net/if_slvar.h
@@ -69,6 +69,7 @@ struct sl_softc {
struct callout_handle sc_kahandle;
struct slcompress sc_comp; /* tcp compression data */
LIST_ENTRY(sl_softc) sl_next;
+ u_char *bpfbuf; /* hing buffer for bpf here */
};
/* internal flags */
OpenPOWER on IntegriCloud