David Howells
bd1fdf8cfd
rxrpc: Add a timeout for detecting lost ACKs/lost DATA
...
Add an extra timeout that is set/updated when we send a DATA packet that
has the request-ack flag set. This allows us to detect if we don't get an
ACK in response to the latest flagged packet.
The ACK packet is adjudged to have been lost if it doesn't turn up within
2*RTT of the transmission.
If the timeout occurs, we schedule the sending of a PING ACK to find out
the state of the other side. If a new DATA packet is ready to go sooner,
we cancel the sending of the ping and set the request-ack flag on that
instead.
If we get back a PING-RESPONSE ACK that indicates a lower tx_top than what
we had at the time of the ping transmission, we adjudge all the DATA
packets sent between the response tx_top and the ping-time tx_top to have
been lost and retransmit immediately.
Rather than sending a PING ACK, we could just pick a DATA packet and
speculatively retransmit that with request-ack set. It should result in
either a REQUESTED ACK or a DUPLICATE ACK which we can then use in lieu the
a PING-RESPONSE ACK mentioned above.
Signed-off-by: David Howells <[email protected] >
2017-11-24 10:18:42 +00:00
..
6lowpan
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
9p
Merge branch '9p-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2017-11-22 20:17:54 -10:00
802
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
8021q
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-12 09:17:05 +09:00
appletalk
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
atm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-11-15 11:56:19 -08:00
ax25
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
batman-adv
bluetooth
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
bpf
bridge
net: bridge: add vlan_tunnel to bridge port policies
2017-11-14 21:54:55 +09:00
caif
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
can
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
ceph
We have a set of file locking improvements from Zheng, rbd rw/ro
2017-11-21 05:38:32 -10:00
core
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
2017-11-24 02:33:01 +09:00
dcb
dccp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
decnet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-11-15 11:56:19 -08:00
dns_resolver
dsa
net: dsa: lan9303: calculate offload_fwd_mark from tag
2017-11-14 21:47:48 +09:00
ethernet
hsr
ieee802154
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
ife
MAINTAINERS: Update Yotam's E-mail
2017-11-01 12:19:03 +09:00
ipv4
net: accept UFO datagrams from tuntap and packet
2017-11-24 01:37:35 +09:00
ipv6
net: accept UFO datagrams from tuntap and packet
2017-11-24 01:37:35 +09:00
ipx
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
iucv
kcm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
key
af_key: replace BUG_ON on WARN_ON in net_exit hook
2017-11-14 15:45:52 +09:00
l2tp
l2tp: exit_net cleanup check added
2017-11-14 15:45:53 +09:00
l3mdev
lapb
llc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-11-15 11:56:19 -08:00
mac80211
mac80211: properly free requested-but-not-started TX agg sessions
2017-11-20 17:01:31 +01:00
mac802154
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
mpls
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
ncsi
net/ncsi: Don't return error on normal response
2017-11-11 15:09:44 +09:00
netfilter
netfilter: add ifdef around ctnetlink_proto_size
2017-11-16 10:49:00 +09:00
netlabel
net/netlabel: Add list_next_rcu() in rcu_dereference().
2017-11-18 10:32:41 +09:00
netlink
netlink: remove unnecessary forward declaration
2017-11-14 21:51:14 +09:00
netrom
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-11-15 11:56:19 -08:00
nfc
genetlink: fix genlmsg_nlhdr()
2017-11-16 10:49:00 +09:00
nsh
openvswitch: enable NSH support
2017-11-08 16:12:33 +09:00
openvswitch
net: accept UFO datagrams from tuntap and packet
2017-11-24 01:37:35 +09:00
packet
packet: exit_net cleanup check added
2017-11-14 15:45:52 +09:00
phonet
phonet: exit_net cleanup check added
2017-11-14 15:45:53 +09:00
psample
MAINTAINERS: Update Yotam's E-mail
2017-11-01 12:19:03 +09:00
qrtr
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-10 10:00:18 +09:00
rds
Merge branch 'akpm' (patches from Andrew)
2017-11-15 19:42:40 -08:00
rfkill
rose
rxrpc
rxrpc: Add a timeout for detecting lost ACKs/lost DATA
2017-11-24 10:18:42 +00:00
sched
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
2017-11-24 02:33:01 +09:00
sctp
sctp: set frag_point in sctp_setsockopt_maxseg correctly
2017-11-18 10:32:41 +09:00
smc
net/smc: Fix preinitialization of buf_desc in __smc_buf_create()
2017-11-24 01:33:34 +09:00
strparser
sunrpc
Lots of good bugfixes, including:
2017-11-18 11:22:04 -08:00
switchdev
net: bridge: Add/del switchdev object on host join/leave
2017-11-10 13:41:40 +09:00
tipc
tipc: fix access of released memory
2017-11-21 20:22:03 +09:00
tls
tls: don't override sk_write_space if tls_set_sw_offload fails.
2017-11-14 16:26:35 +09:00
unix
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
vmw_vsock
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
wimax
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
wireless
cfg80211: initialize regulatory keys/database later
2017-11-20 16:55:29 +01:00
x25
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
xfrm
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
2017-11-16 22:33:54 +09:00
compat.c
Kconfig
Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
socket.c
kmemcheck: remove annotations
2017-11-15 18:21:04 -08:00
sysctl_net.c