summaryrefslogtreecommitdiffstats
path: root/src/vnet/sctp/sctp_input.c
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.com>2018-03-28 12:06:10 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-28 13:40:04 +0000
commite17bb715cf19de48748241f2dcfde919ac0ecffa (patch)
treef530de9de2f1f152937d1761dad0c3d96d7837ad /src/vnet/sctp/sctp_input.c
parentab7c2b012d0132c63d700e036de801a1b7dc3340 (diff)
SCTP: use custom fib
Following TCP fixes from Florin (11430), this patch follows the same approach to indicate a fib (not just using the default one). Change-Id: Ib883aa0e9a1c6157acfea69c44426ba07d6c932a Signed-off-by: Marco Varlese <marco.varlese@suse.com>
Diffstat (limited to 'src/vnet/sctp/sctp_input.c')
-rw-r--r--src/vnet/sctp/sctp_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/sctp/sctp_input.c b/src/vnet/sctp/sctp_input.c
index 5691f0f44e6..bc36a7f91d5 100644
--- a/src/vnet/sctp/sctp_input.c
+++ b/src/vnet/sctp/sctp_input.c
@@ -1670,6 +1670,9 @@ sctp46_listen_process_inline (vlib_main_t * vm,
child_conn->sub_conn[SCTP_PRIMARY_PATH_IDX].PMTU =
sctp_listener->sub_conn[SCTP_PRIMARY_PATH_IDX].PMTU;
child_conn->state = SCTP_STATE_CLOSED;
+ child_conn->sub_conn[SCTP_PRIMARY_PATH_IDX].connection.fib_index =
+ sctp_listener->sub_conn[SCTP_PRIMARY_PATH_IDX].
+ connection.fib_index;
if (is_ip4)
{