kernel_optimize_test/net
Herbert Xu 1c32c5ad6f inet: Add ip_make_skb and ip_finish_skb
This patch adds the helper ip_make_skb which is like ip_append_data
and ip_push_pending_frames all rolled into one, except that it does
not send the skb produced.  The sending part is carried out by
ip_send_skb, which the transport protocol can call after it has
tweaked the skb.

It is meant to be called in cases where corking is not used should
have a one-to-one correspondence to sendmsg.

This patch also adds the helper ip_finish_skb which is meant to
be replace ip_push_pending_frames when corking is required.
Previously the protocol stack would peek at the socket write
queue and add its header to the first packet.  With ip_finish_skb,
the protocol stack can directly operate on the final skb instead,
just like the non-corking case with ip_make_skb.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-01 12:35:03 -08:00
..
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bridge
caif
can
ceph
core inet: Remove unused sk_sndmsg_* from UFO 2011-03-01 12:35:02 -08:00
dcb
dccp dccp: newdp is declared/assigned but never be used 2011-02-25 14:00:21 -08:00
decnet
dns_resolver
dsa
econet
ethernet
ieee802154
ipv4 inet: Add ip_make_skb and ip_finish_skb 2011-03-01 12:35:03 -08:00
ipv6 inet: Remove unused sk_sndmsg_* from UFO 2011-03-01 12:35:02 -08:00
ipx
irda
iucv
key pfkey: Use const where possible. 2011-02-25 18:07:06 -08:00
l2tp
lapb
llc llc: avoid skb_clone() if there is only one handler 2011-02-28 12:28:50 -08:00
mac80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-02-22 15:10:22 -05:00
netfilter
netlabel
netlink
netrom
packet
phonet phonet: Protect pipe_do_remove() with appropriate ifdefs. 2011-02-25 11:23:22 -08:00
rds
rfkill
rose
rxrpc
sched sched: protocol only needed when CONFIG_NET_CLS_ACT is enabled 2011-02-25 14:00:23 -08:00
sctp net: add __rcu annotations to sk_wq and wq 2011-02-22 10:19:31 -08:00
sunrpc net: add __rcu annotations to sk_wq and wq 2011-02-22 10:19:31 -08:00
tipc tipc: Avoid reliable broadcast preparation for NACK messages 2011-02-23 18:05:23 -05:00
unix net: add __rcu annotations to sk_wq and wq 2011-02-22 10:19:31 -08:00
wanrouter
wimax
wireless
x25
xfrm xfrm: Pass const xfrm_address_t objects to xfrm_state_lookup* and xfrm_find_acq. 2011-02-27 23:17:24 -08:00
compat.c
Kconfig
Makefile
nonet.c
socket.c socket: suppress sparse warnings 2011-02-23 14:11:30 -08:00
sysctl_net.c
TUNABLE