1
0
Fork 0
alistair23-linux/net
Jan Beulich f9708b4302 consolidate duplicate code is skb_checksum_setup() helpers
consolidate duplicate code is skb_checksum_setup() helpers

Realizing that the skb_maybe_pull_tail() calls in the IP-protocol
specific portions of both helpers are terminal ones (i.e. no further
pulls are expected), their maximum size to be pulled can be made match
their minimal size needed, thus making the code identical and hence
possible to be moved into another helper.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Paul Durrant <paul.durrant@citrix.com>
Cc: David Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-13 15:16:29 -04:00
..
9p
802
8021q 8021q: Convert uses of __constant_<foo> to <foo> 2014-03-12 15:28:06 -04:00
appletalk
atm
ax25
batman-adv
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2014-03-13 14:21:43 -04:00
bridge inet: remove now unused flag DST_NOPEER 2014-03-06 13:15:52 -05:00
caif
can can: remove CAN FD compatibility for CAN 2.0 sockets 2014-03-03 14:29:52 +01:00
ceph
core consolidate duplicate code is skb_checksum_setup() helpers 2014-03-13 15:16:29 -04:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
hsr Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-03-05 20:32:02 -05:00
ieee802154 ieee802154: Convert uses of __constant_<foo> to <foo> 2014-03-12 15:28:06 -04:00
ipv4 tcp: timestamp SYN+DATA messages 2014-03-10 16:15:54 -04:00
ipv6 ipv6: ip6_forward: perform skb->pkt_type check at the beginning 2014-03-11 00:37:42 -04:00
ipx
irda
iucv
key
l2tp l2tp: fix unused variable warning 2014-03-10 15:32:24 -04:00
lapb
llc
mac80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2014-03-13 14:21:43 -04:00
mac802154
mpls
netfilter
netlabel
netlink netlink: autosize skb lengthes 2014-03-10 13:56:26 -04:00
netrom
nfc
openvswitch
packet packet: allow to transmit +4 byte in TX_RING slot for VLAN case 2014-02-28 16:52:02 -05:00
phonet
rds
rfkill
rose
rxrpc af_rxrpc: Keep rxrpc_call pointers in a hashtable 2014-03-04 10:36:53 +00:00
sched pkt_sched: add cond_resched() to class and qdisc dump 2014-03-11 23:54:23 -04:00
sctp net: sctp: remove NULL check in sctp_assoc_update_retran_path 2014-03-13 13:23:52 -04:00
sunrpc
tipc tipc: eliminate redundant lookups in registry 2014-03-12 15:53:49 -04:00
unix
vmw_vsock
wimax
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2014-03-13 14:21:43 -04:00
x25
xfrm flowcache: Fix resource leaks on namespace exit. 2014-03-12 15:31:18 -04:00
Kconfig
Makefile
compat.c
nonet.c
socket.c
sysctl_net.c