summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorpkelsey <pkelsey@FreeBSD.org>2015-07-29 17:59:13 +0000
committerpkelsey <pkelsey@FreeBSD.org>2015-07-29 17:59:13 +0000
commitc409257912838cc967df14ab875de0e643ce2c57 (patch)
treefddf669ce47c164f67e59c6d2499079af3714ef3 /sys/sys/mbuf.h
parente700d1d0586974b324301ecfa7a04923f3b508bc (diff)
downloadFreeBSD-src-c409257912838cc967df14ab875de0e643ce2c57.zip
FreeBSD-src-c409257912838cc967df14ab875de0e643ce2c57.tar.gz
Revert r265338, r271089 and r271123 as those changes do not handle
non-inline urgent data and introduce an mbuf exhaustion attack vector similar to FreeBSD-SA-15:15.tcp, but not requiring VNETs. Address the issue described in FreeBSD-SA-15:15.tcp. Reviewed by: glebius Approved by: so Approved by: jmallett (mentor) Security: FreeBSD-SA-15:15.tcp Sponsored by: Norse Corp, Inc.
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r--sys/sys/mbuf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 3d5a7c1..39a41d3 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -150,7 +150,6 @@ struct pkthdr {
#define tso_segsz PH_per.sixteen[1]
#define csum_phsum PH_per.sixteen[2]
#define csum_data PH_per.thirtytwo[1]
-#define pkt_tcphdr PH_loc.ptr
/*
* Description of external storage mapped into mbuf; valid only if M_EXT is
OpenPOWER on IntegriCloud