tmp_suning_uos_patched/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 Merge branch 'batman-adv/next' of git://git.open-mesh.org/ecsv/linux-merge 2011-02-11 21:20:27 -08:00
bluetooth Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-02-18 17:03:41 -05:00
bridge Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-02-19 19:17:35 -08:00
caif Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-02-08 17:19:01 -08:00
can
ceph
core inet: Remove unused sk_sndmsg_* from UFO 2011-03-01 12:35:02 -08:00
dcb Don't potentially dereference NULL in net/dcb/dcbnl.c:dcbnl_getapp() 2011-02-13 11:21:14 -08:00
dccp dccp: newdp is declared/assigned but never be used 2011-02-25 14:00:21 -08:00
decnet net: Add initial_ref arg to dst_alloc(). 2011-02-17 15:44:00 -08:00
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 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-02-19 19:17:35 -08:00
netlabel
netlink
netrom
packet network: Allow af_packet to transmit +4 bytes for VLAN packets. 2011-02-11 21:26:32 -08:00
phonet phonet: Protect pipe_do_remove() with appropriate ifdefs. 2011-02-25 11:23:22 -08:00
rds
rfkill
rose ROSE: AX25: finding routes simplification 2011-02-14 13:33:49 -08:00
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 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2011-02-08 13:52:31 -08:00
x25 x25: Do not reference freed memory. 2011-02-09 22:36:13 -08:00
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