diff options
author | Michio Honda <micchie@sfc.wide.ad.jp> | 2011-06-16 17:14:34 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-24 19:41:13 -0700 |
commit | 6af29ccc223b0feb6fc6112281c3fa3cdb1afddf (patch) | |
tree | 53cc047bce9d4c81860f5e852851f94cd1022e0e /net/sctp/sm_make_chunk.c | |
parent | f207c050fb1c385e34946e57107e639831c7d557 (diff) | |
download | linux-6af29ccc223b0feb6fc6112281c3fa3cdb1afddf.tar.gz linux-6af29ccc223b0feb6fc6112281c3fa3cdb1afddf.tar.bz2 linux-6af29ccc223b0feb6fc6112281c3fa3cdb1afddf.zip |
sctp: Bundle HEAERTBEAT into ASCONF_ACK
With this patch a HEARTBEAT chunk is bundled into the ASCONF-ACK
for ADD IP ADDRESS, confirming the new destination as quickly as
possible.
Signed-off-by: Michio Honda <micchie@sfc.wide.ad.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index 81db4e385352..0121e0ab0351 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c @@ -3015,6 +3015,7 @@ static __be16 sctp_process_asconf_param(struct sctp_association *asoc, /* Start the heartbeat timer. */ if (!mod_timer(&peer->hb_timer, sctp_transport_timeout(peer))) sctp_transport_hold(peer); + asoc->new_transport = peer; break; case SCTP_PARAM_DEL_IP: /* ADDIP 4.3 D7) If a request is received to delete the |