Eric Dumazet
ea1627c20c
tcp: minor optimizations around tcp_hdr() usage
...
tcp_hdr() is slightly more expensive than using skb->data in contexts
where we know they point to the same byte.
In receive path, tcp_v4_rcv() and tcp_v6_rcv() are in this situation,
as tcp header has not been pulled yet.
In output path, the same can be said when we just pushed the tcp header
in the skb, in tcp_transmit_skb() and tcp_make_synack()
Also factorize the two checks for tcb->tcp_flags & TCPHDR_SYN in
tcp_transmit_skb() and pass tcp header pointer to tcp_ecn_send(),
so that compiler can further optimize and avoid a reload.
Signed-off-by: Eric Dumazet <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2016-05-16 13:46:23 -04:00
..
netfilter
netfilter: conntrack: use a single expectation table for all namespaces
2016-05-06 11:50:01 +02:00
af_inet.c
GSO: Support partial segmentation offload
2016-04-14 16:23:41 -04:00
ah4.c
arp.c
net: rename NET_{ADD|INC}_STATS_BH()
2016-04-27 22:48:24 -04:00
cipso_ipv4.c
net: introduce lockdep_is_held and update various places to use it
2016-04-07 16:44:14 -04:00
datagram.c
devinet.c
ipv4: Don't do expensive useless work during inetdev destroy.
2016-03-13 23:28:35 -04:00
esp4.c
fib_frontend.c
net: vrf: Create FIB tables on link create
2016-05-06 15:51:47 -04:00
fib_lookup.h
fib_rules.c
fib_semantics.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-15 13:32:48 -04:00
fib_trie.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-02-01 15:56:08 -08:00
fou.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-09 15:59:24 -04:00
gre_demux.c
gre: Fix wrong tpi->proto in WCCP
2016-05-12 16:53:58 -04:00
gre_offload.c
GRE: Add support for GRO/GSO of IPv6 GRE traffic
2016-04-16 19:09:13 -04:00
icmp.c
net: icmp: rename ICMPMSGIN_INC_STATS_BH()
2016-04-27 22:48:23 -04:00
igmp.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-03-08 12:34:12 -05:00
inet_connection_sock.c
tcp: two more missing bh disable
2016-05-04 23:47:54 -04:00
inet_diag.c
sock_diag: align nlattr properly when needed
2016-04-26 12:00:48 -04:00
inet_fragment.c
inet_hashtables.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-04 00:52:29 -04:00
inet_timewait_sock.c
tcp: must block bh in __inet_twsk_hashdance()
2016-05-04 16:55:11 -04:00
inetpeer.c
ip_forward.c
net: rename IP_ADD_STATS_BH()
2016-04-27 22:48:24 -04:00
ip_fragment.c
net: rename IP_INC_STATS_BH()
2016-04-27 22:48:23 -04:00
ip_gre.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-15 13:32:48 -04:00
ip_input.c
net: original ingress device index in PKTINFO
2016-05-11 19:31:40 -04:00
ip_options.c
net: ipv4: Convert IP network timestamps to be y2038 safe
2016-03-01 17:18:44 -05:00
ip_output.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-03-08 12:34:12 -05:00
ip_sockglue.c
sock: propagate __sock_cmsg_send() error
2016-05-16 13:46:23 -04:00
ip_tunnel.c
ip_tunnel: fix preempt warning in ip tunnel creation/updating
2016-04-29 14:11:46 -04:00
ip_tunnel_core.c
net: relax expensive skb_unclone() in iptunnel_handle_offloads()
2016-05-03 00:22:19 -04:00
ip_vti.c
vti: Add pmtu handling to vti_xmit.
2016-03-31 08:59:56 +02:00
ipcomp.c
ipconfig.c
ipv4: ipconfig: avoid unused ic_proto_used symbol
2016-01-29 19:39:09 -08:00
ipip.c
ip_tunnel_core: iptunnel_handle_offloads returns int and doesn't free skb
2016-04-16 19:09:13 -04:00
ipmr.c
ipmr: align RTA_MFC_STATS on 64-bit
2016-04-21 14:22:13 -04:00
Kconfig
ipv4: Remove inet_lro library
2016-02-17 16:15:46 -05:00
Makefile
ipv4: Remove inet_lro library
2016-02-17 16:15:46 -05:00
netfilter.c
ping.c
sock: enable timestamping using control messages
2016-04-04 15:50:30 -04:00
proc.c
ipv4: Namespaceify ip_default_ttl sysctl knob
2016-02-16 20:42:54 -05:00
protocol.c
raw.c
sock: enable timestamping using control messages
2016-04-04 15:50:30 -04:00
route.c
net: l3mdev: Allow send on enslaved interface
2016-05-09 22:33:52 -04:00
syncookies.c
net: rename NET_{ADD|INC}_STATS_BH()
2016-04-27 22:48:24 -04:00
sysctl_net_ipv4.c
net: ipv4: Consider failed nexthops in multipath routes
2016-04-11 15:16:13 -04:00
tcp.c
tcp: guarantee forward progress in tcp_sendmsg()
2016-05-04 12:44:36 -04:00
tcp_bic.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_cdg.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_cong.c
tcp_cubic.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_dctcp.c
tcp_diag.c
tcp_fastopen.c
tcp: do not assume TCP code is non preemptible
2016-05-02 17:02:25 -04:00
tcp_highspeed.c
tcp_htcp.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_hybla.c
tcp_illinois.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_input.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_ipv4.c
tcp: minor optimizations around tcp_hdr() usage
2016-05-16 13:46:23 -04:00
tcp_lp.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_metrics.c
libnl: nla_put_msecs(): align on a 64-bit area
2016-04-23 20:13:24 -04:00
tcp_minisocks.c
tcp: do not assume TCP code is non preemptible
2016-05-02 17:02:25 -04:00
tcp_offload.c
GSO: Support partial segmentation offload
2016-04-14 16:23:41 -04:00
tcp_output.c
tcp: minor optimizations around tcp_hdr() usage
2016-05-16 13:46:23 -04:00
tcp_probe.c
net: ipv4: tcp_probe: Replace timespec with timespec64
2016-03-01 17:18:44 -05:00
tcp_recovery.c
tcp: do not assume TCP code is non preemptible
2016-05-02 17:02:25 -04:00
tcp_scalable.c
tcp_timer.c
tcp: do not assume TCP code is non preemptible
2016-05-02 17:02:25 -04:00
tcp_vegas.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_vegas.h
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_veno.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_westwood.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_yeah.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tunnel4.c
udp.c
udp: Resolve NULL pointer dereference over flow-based vxlan device
2016-05-13 01:56:14 -04:00
udp_diag.c
udp: no longer use SLAB_DESTROY_BY_RCU
2016-04-04 22:11:19 -04:00
udp_impl.h
udp_offload.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-05-09 15:59:24 -04:00
udp_tunnel.c
udp: Add socket based GRO and config
2016-04-07 16:53:29 -04:00
udplite.c
xfrm4_input.c
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c
xfrm4_protocol.c
xfrm4_state.c
xfrm4_tunnel.c