freebsd-dev/sys
Hans Petter Selasky c4c4346f5f Extend fixes made in r278103 and r38754 by copying the complete packet
header and not only partial flags and fields. Firewalls can attach
classification tags to the outgoing mbufs which should be copied to
all the new fragments. Else only the first fragment will be let
through by the firewall. This can easily be tested by sending a large
ping packet through a firewall. It was also discovered that VLAN
related flags and fields should be copied for packets traversing
through VLANs. This is all handled by "m_dup_pkthdr()".

Regarding the MAC policy check in ip_fragment(), the tag provided by
the originating mbuf is copied instead of using the default one
provided by m_gethdr().

Tested by:		Karim Fodil-Lemelin <fodillemlinkarim at gmail.com>
MFC after:		2 weeks
Sponsored by:		Mellanox Technologies
PR:			7802
2015-04-02 15:47:37 +00:00
..
amd64 Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
arm Stop including machine/fdt.h, it's not needed. 2015-04-02 13:02:25 +00:00
arm64/include Add more arm64 machine dependent headers. With this we now have the minimum 2015-03-26 21:10:42 +00:00
boot Ensure the cross assembler, linker and objcopy are used for the build32 2015-04-02 06:58:17 +00:00
bsm
cam Add some additional quirks for various Western Digital Caviar MHDDs 2015-03-30 09:05:20 +00:00
cddl Add the arm64 defines for cddl code. 2015-04-01 08:31:56 +00:00
compat Remove unused code. 2015-04-02 10:19:24 +00:00
conf Add necessary changes to support various Amlogic SoC devices 2015-03-31 11:50:46 +00:00
contrib o Use new function ip_fillid() in all places throughout the kernel, 2015-04-01 22:26:39 +00:00
crypto
ddb
dev Handle multiple "gpio-leds"-compatible nodes 2015-04-02 02:43:48 +00:00
fs Refine r280308. Do not completely disable timestamping of devfs nodes 2015-04-01 08:25:40 +00:00
gdb
geom Remove extra semicolon. 2015-03-27 12:45:20 +00:00
gnu
i386 Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
isa
kern Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
kgssapi
libkern
mips Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
modules sym and cxgb build on arm, add them to the build. 2015-03-27 02:35:33 +00:00
net Fix a possible mbuf leak on interface departure. 2015-03-26 23:40:22 +00:00
net80211 Initialise the pps / packet tracking timestamp so 11n aggregation works again. 2015-03-22 17:54:00 +00:00
netgraph Change the callout to supply -1 to indicate we are not changing 2015-03-28 12:50:24 +00:00
netinet Extend fixes made in r278103 and r38754 by copying the complete packet 2015-04-02 15:47:37 +00:00
netinet6 Preserve IPv6 fragment IDs accross reassembly and refragmentation 2015-04-01 12:15:01 +00:00
netipsec o Use new function ip_fillid() in all places throughout the kernel, 2015-04-01 22:26:39 +00:00
netnatm
netpfil o Use new function ip_fillid() in all places throughout the kernel, 2015-04-01 22:26:39 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Fix variable casting: 2015-03-27 19:08:11 +00:00
opencrypto
pc98
powerpc Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
rpc Fix overflow bugs in and remove obsolete limit from kernel RPC 2015-04-01 00:45:47 +00:00
security
sparc64 Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
sys Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
teken
tools
ufs Fix build (with gcc). 2015-03-27 15:49:21 +00:00
vm Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
x86 When mapping an allocated entry, use the entry size, instead of the 2015-03-24 12:48:51 +00:00
xdr
xen
Makefile