git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
net
/
sctp
/
sm_sideeffect.c
diff --git
a/net/sctp/sm_sideeffect.c
b/net/sctp/sm_sideeffect.c
index
9c10bde
..
c5beb2a
100644
(file)
--- a/
net/sctp/sm_sideeffect.c
+++ b/
net/sctp/sm_sideeffect.c
@@
-430,11
+430,7
@@
static void sctp_do_8_2_transport_strike(struct sctp_association *asoc,
/* The check for association's overall error counter exceeding the
* threshold is done in the state function.
*/
/* The check for association's overall error counter exceeding the
* threshold is done in the state function.
*/
- /* When probing UNCONFIRMED addresses, the association overall
- * error count is NOT incremented
- */
- if (transport->state != SCTP_UNCONFIRMED)
- asoc->overall_error_count++;
+ asoc->overall_error_count++;
if (transport->state != SCTP_INACTIVE &&
(transport->error_count++ >= transport->pathmaxrxt)) {
if (transport->state != SCTP_INACTIVE &&
(transport->error_count++ >= transport->pathmaxrxt)) {
@@
-614,7
+610,7
@@
static void sctp_cmd_transport_on(sctp_cmd_seq_t *cmds,
/* Mark the destination transport address as active if it is not so
* marked.
*/
/* Mark the destination transport address as active if it is not so
* marked.
*/
- if (
(t->state == SCTP_INACTIVE) || (t->state == SCTP_UNCONFIRMED)
)
+ if (
t->state == SCTP_INACTIVE
)
sctp_assoc_control_transport(asoc, t, SCTP_TRANSPORT_UP,
SCTP_HEARTBEAT_SUCCESS);
sctp_assoc_control_transport(asoc, t, SCTP_TRANSPORT_UP,
SCTP_HEARTBEAT_SUCCESS);
@@
-624,10
+620,6
@@
static void sctp_cmd_transport_on(sctp_cmd_seq_t *cmds,
*/
hbinfo = (sctp_sender_hb_info_t *) chunk->skb->data;
sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at));
*/
hbinfo = (sctp_sender_hb_info_t *) chunk->skb->data;
sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at));
-
- /* Update the heartbeat timer. */
- if (!mod_timer(&t->hb_timer, sctp_transport_timeout(t)))
- sctp_transport_hold(t);
}
/* Helper function to do a transport reset at the expiry of the hearbeat
}
/* Helper function to do a transport reset at the expiry of the hearbeat