remarkable-linux/net
Wei Yongjun 536428a9b9 sctp: Fix to start T5-shutdown-guard timer while enter SHUTDOWN-SENT state
RFC 4960: Section 9.2
The sender of the SHUTDOWN MAY also start an overall guard timer
'T5-shutdown-guard' to bound the overall time for the shutdown
sequence.  At the expiration of this timer, the sender SHOULD abort
the association by sending an ABORT chunk.  If the 'T5-shutdown-
guard' timer is used, it SHOULD be set to the recommended value of 5
times 'RTO.Max'.

The timer 'T5-shutdown-guard' is used to counter the overall time
for shutdown sequence, and it's start by the sender of the SHUTDOWN.
So timer 'T5-shutdown-guard' should be start when we send the first
SHUTDOWN chunk and enter the SHUTDOWN-SENT state, not start when we
receipt of the SHUTDOWN primitive and enter SHUTDOWN-PENDING state.

If 'T5-shutdown-guard' timer is start at SHUTDOWN-PENDING state, the
association may be ABORT while data is still transmitting.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
2008-10-01 11:34:16 -04:00
..
9p 9p: fix put_data error handling 2008-09-24 16:22:22 -05:00
802
8021q net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
appletalk
atm net/atm/lec.c: drop code after return 2008-09-22 19:24:45 -07:00
ax25
bluetooth [Bluetooth] Fix regression from using default link policy 2008-09-12 03:11:54 +02:00
bridge Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-09-08 16:59:05 -07:00
can
core net: BUG instead of corrupting memory in pskb_expand_head 2008-10-01 07:09:38 -07:00
dccp This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
decnet
econet
ethernet net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
ieee80211
ipv4 udp: Export UDP socket lookup function 2008-10-01 07:48:10 -07:00
ipv6 ipv4: Make inet_sock.h independent of route.h 2008-10-01 07:33:10 -07:00
ipx
irda
iucv iucv: Fix mismerge again. 2008-09-30 03:03:35 -07:00
key ipsec: Put dumpers on the dump list 2008-10-01 07:03:24 -07:00
lapb
llc
mac80211 Fix modpost failure when rx handlers are not inlined. 2008-09-30 14:07:25 -04:00
netfilter netfilter: xt_time gives a wrong monthday in a leap year 2008-09-22 19:02:36 -07:00
netlabel
netlink
netrom
packet
phonet Phonet: Netlink factorization and cleanup 2008-09-30 02:51:18 -07:00
rfkill rfkill: remove transmitter blocking on suspend 2008-09-15 16:48:25 -04:00
rose
rxrpc
sched pkt_sched: Check the state of tx_queue in dequeue_skb() 2008-09-22 22:16:23 -07:00
sctp sctp: Fix to start T5-shutdown-guard timer while enter SHUTDOWN-SENT state 2008-10-01 11:34:16 -04:00
sunrpc net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
tipc
unix
wanrouter
wireless wireless: a global static to local static improvement 2008-09-24 16:18:04 -04:00
x25
xfrm ipsec: Put dumpers on the dump list 2008-10-01 07:03:24 -07:00
compat.c
Kconfig Phonet: add CONFIG_PHONET 2008-09-22 20:03:00 -07:00
Makefile Phonet: add CONFIG_PHONET 2008-09-22 20:03:00 -07:00
nonet.c
socket.c sys_paccept: disable paccept() until API design is resolved 2008-09-23 08:09:14 -07:00
sysctl_net.c
TUNABLE