Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194630
b: refs/heads/master
c: c17b02b
h: refs/heads/master
v: v3
  • Loading branch information
Vlad Yasevich committed May 1, 2010
1 parent 6d0b511 commit 55a879d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5f4cea74f1397bb29d0bbdabeb05bd05a23a741
refs/heads/master: c17b02b38aa99ef806c7066ef19a6f51122304f1
8 changes: 6 additions & 2 deletions trunk/net/sctp/sm_sideeffect.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,11 +697,15 @@ static void sctp_cmd_setup_t2(sctp_cmd_seq_t *cmds,
{
struct sctp_transport *t;

t = sctp_assoc_choose_alter_transport(asoc,
if (chunk->transport)
t = chunk->transport;
else {
t = sctp_assoc_choose_alter_transport(asoc,
asoc->shutdown_last_sent_to);
chunk->transport = t;
}
asoc->shutdown_last_sent_to = t;
asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto;
chunk->transport = t;
}

/* Helper function to change the state of an association. */
Expand Down

0 comments on commit 55a879d

Please sign in to comment.