kernel_optimize_test/net/ipv4
Herbert Xu ff9b5e0f08 [TCP]: Fix rcv mss estimate for LRO
By passing a Linux-generated TSO packet straight back into Linux, Xen
becomes our first LRO user :) Unfortunately, there is at least one spot
in our stack that needs to be changed to cope with this.

The receive MSS estimate is computed from the raw packet size.  This is
broken if the packet is GSO/LRO.  Fortunately the real MSS can be found
in gso_size so we simply need to use that if it is non-zero.

Real LRO NICs should of course set the gso_size field in future.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-22 15:18:44 -07:00
..
ipvs
netfilter
af_inet.c [NET]: Use BUILD_BUG_ON() for checking size of skb->cb. 2006-09-22 15:18:15 -07:00
ah4.c
arp.c
cipso_ipv4.c
datagram.c
devinet.c [NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation 2006-09-22 15:18:25 -07:00
esp4.c [IPSEC] esp: Defer output IV initialization to first use. 2006-09-22 15:17:35 -07:00
fib_frontend.c [NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation 2006-09-22 15:18:25 -07:00
fib_hash.c
fib_lookup.h
fib_rules.c [NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation 2006-09-22 15:18:25 -07:00
fib_semantics.c
fib_trie.c
icmp.c
igmp.c
inet_connection_sock.c
inet_diag.c
inet_hashtables.c
inet_timewait_sock.c
inetpeer.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
ip_forward.c
ip_fragment.c
ip_gre.c
ip_input.c
ip_options.c
ip_output.c [NETFILTER] bridge: simplify nf_bridge_pad 2006-09-22 15:18:31 -07:00
ip_sockglue.c
ipcomp.c
ipconfig.c
ipip.c
ipmr.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
Kconfig
Makefile
multipath_drr.c
multipath_random.c
multipath_rr.c
multipath_wrandom.c
multipath.c
netfilter.c
proc.c
protocol.c
raw.c
route.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
syncookies.c
sysctl_net_ipv4.c
tcp_bic.c [TCP] tcp_bic: use BUILD_BUG_ON 2006-09-22 15:18:04 -07:00
tcp_cong.c
tcp_cubic.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp_diag.c
tcp_highspeed.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp_htcp.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp_hybla.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp_input.c [TCP]: Fix rcv mss estimate for LRO 2006-09-22 15:18:44 -07:00
tcp_ipv4.c
tcp_lp.c [TCP] tcp_lp: use BUILD_BUG_ON 2006-09-22 15:18:03 -07:00
tcp_minisocks.c
tcp_output.c
tcp_probe.c
tcp_scalable.c
tcp_timer.c
tcp_vegas.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp_veno.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp_westwood.c [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON 2006-09-22 15:18:13 -07:00
tcp.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
tunnel4.c
udp.c [UDP]: saddr_cmp function should take const socket pointers 2006-09-22 15:18:23 -07:00
xfrm4_input.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c [XFRM]: Add generation count to xfrm_state and xfrm_dst. 2006-09-22 15:08:42 -07:00
xfrm4_state.c [XFRM]: Pull xfrm_state_by{spi,src} hash table knowledge out of afinfo. 2006-09-22 15:08:39 -07:00
xfrm4_tunnel.c