freebsd-nq/sys
Andre Oppermann 4ad1c464fe In sbappendstream_locked() demote all incoming packet mbufs (and
chains) to pure data mbufs using m_demote().  This removes the
packet header and all m_tag information as they are not meaningful
anymore on a stream socket where mbufs are linked through m->m_next.
Strictly speaking a packet header can be only ever valid on the first
mbuf in an m_next chain.

sbcompress() was doing this already when the mbuf chain layout lent
itself to it (e.g. header splitting or merge-append), just not
consistently.

This frees resources at socket buffer append time instead of at
sbdrop_internal() time after data has been read from the socket.

For MAC the per packet information has done its duty and during
socket buffer appending the policy of the socket itself takes over.
With the append the packet boundaries disappear naturally and with
it any context that was based on it.  None of the residual information
from mbuf headers in the socket buffer on stream sockets was looked at.
2009-06-22 21:46:40 +00:00
..
amd64 Eliminate dead code. These definitions should have been deleted with the 2009-06-22 04:21:02 +00:00
arm hook arm_post_filter to ACK GPIO interrupts; this fixes the interrupt 2009-06-22 20:57:51 +00:00
boot Bump PowerPC loader(8) version to reflect extensions it has recently grown. 2009-06-22 15:57:12 +00:00
bsm Merge OpenBSM 1.1 from OpenBSM vendor branch to head. 2009-04-19 16:17:13 +00:00
cam Change cam_periph_ioctl() to take 'cmd' and a u_long instead of an 2009-06-22 14:43:48 +00:00
cddl O_NOFOLLOW shall be in flags, not in cmode. 2009-06-22 10:08:48 +00:00
compat Regen. 2009-06-22 20:24:03 +00:00
conf Keep file list sorted. 2009-06-22 15:53:41 +00:00
contrib All consumers of in_cksum.h have been properly #ifdefed already, 2009-06-10 11:19:34 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
dev Fix cxgb's ifmedia ioctl handling. Also fixed a comment. 2009-06-22 21:42:57 +00:00
fs Add explicit struct ucred * argument for VOP_VPTOCNP, to be used by 2009-06-21 19:21:01 +00:00
gdb
geom Fix tabs, slightly improve comments. 2009-06-18 11:12:11 +00:00
gnu Do not use casts (int *)0 and (struct thread *)0 for the arguments of 2009-06-16 15:13:45 +00:00
i386 Eliminate dead code. These definitions should have been deleted with the 2009-06-22 04:21:02 +00:00
ia64 Drop the high FP state of an exiting thread in cpu_thread_exit() and 2009-06-20 05:36:53 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
kern In sbappendstream_locked() demote all incoming packet mbufs (and 2009-06-22 21:46:40 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Split tolower/toupper code from usual xlat16 kiconv table, and make it 2009-06-22 17:09:46 +00:00
mips Add a .cvsignore file and along with that put an svn:ignore proprty 2009-06-17 10:48:32 +00:00
modules Greatly simplify cxgb by removing almost all of the custom mbuf management logic 2009-06-19 23:34:32 +00:00
net V_irtualize flowtable state. 2009-06-22 21:19:24 +00:00
net80211 ieee80211_dwds_mcast(): check the correct mbuf ptr after encap. 2009-06-18 21:15:41 +00:00
netatalk Add a global rwlock, at_ifaddr_rw, to protect the global netatalk 2009-06-22 10:23:54 +00:00
netgraph s/usb2_/usb_|usbd_/ on all function names for the USB stack. 2009-06-15 01:02:43 +00:00
netinet V_irtualize flowtable state. 2009-06-22 21:19:24 +00:00
netinet6 Clean up common ifaddr management: 2009-06-21 19:30:33 +00:00
netipsec Move setting of ports from NAT-T below key_getsah() and actually 2009-06-19 21:01:55 +00:00
netipx Add a new function, ifa_ifwithaddr_check(), which rather than returning 2009-06-22 10:59:34 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
nfsclient Fix some of the style errors in *getpages(). 2009-06-18 05:56:24 +00:00
nfsserver Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto Fix cryptodev UIO creation. 2009-05-23 13:23:46 +00:00
pc98 Remove MAC kernel config files and add "options MAC" to GENERIC, with the 2009-06-02 18:31:08 +00:00
pci When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
powerpc DS1553 RTC module driver. On the MPC8555CDS system it hangs off of the LBC bus. 2009-06-22 15:48:47 +00:00
rpc Delete the declaration of an unused variable so that it will build. 2009-06-20 17:16:29 +00:00
security Chase the removal of PRIV_TTY_PRISON in the mac(9) modules. 2009-06-20 15:54:35 +00:00
sparc64 Add cas(4), a driver for Sun Cassini/Cassini+ and National Semiconductor 2009-06-15 18:22:41 +00:00
sun4v Adjust the padding of struct pcpu to r193219. 2009-06-03 19:31:26 +00:00
sys V_irtualize flowtable state. 2009-06-22 21:19:24 +00:00
tools - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00
ufs Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
vm Validate the page in one place, dev_pager_getpages(), rather than doing it 2009-06-22 19:09:48 +00:00
xdr MFdevbranch 192944 2009-05-28 08:18:12 +00:00
xen Make ipi_cpu() function as intended. 2009-05-30 08:53:13 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00