kernel-ark/net
David S. Miller c65f7f00c5 [TCP]: Simplify SKB data portion allocation with NETIF_F_SG.
The ideal and most optimal layout for an SKB when doing
scatter-gather is to put all the headers at skb->data, and
all the user data in the page array.

This makes SKB splitting and combining extremely simple,
especially before a packet goes onto the wire the first
time.

So, when sk_stream_alloc_pskb() is given a zero size, make
sure there is no skb_tailroom().  This is achieved by applying
SKB_DATA_ALIGN() to the header length used here.

Next, make select_size() in TCP output segmentation use a
length of zero when NETIF_F_SG is true on the outgoing
interface.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-05 15:17:25 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge
core [NET]: improve readability of dev_set_promiscuity() in net/core/dev.c 2005-07-05 15:11:06 -07:00
decnet [DECNET]: Fix memset overflow on 64bit archs while dumping decnet routing rules 2005-07-05 15:01:25 -07:00
econet
ethernet
ipv4 [TCP]: Simplify SKB data portion allocation with NETIF_F_SG. 2005-07-05 15:17:25 -07:00
ipv6 [IPV6]: Makes IPv6 rcv registration happen last during initialisation. 2005-07-05 14:41:20 -07:00
ipx
irda
key
lapb
llc
netlink
netrom
packet
rose
rxrpc
sched [PKT_SCHED]: Report rate estimator configuration errors during qdisc allocation 2005-07-05 14:15:53 -07:00
sctp
sunrpc
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE