summaryrefslogtreecommitdiffstats
path: root/src/vnet/sr/sr_steering.c
diff options
context:
space:
mode:
authorshwethab <shwetha.bhandari@gmail.com>2017-03-29 11:36:37 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-30 12:17:45 +0000
commitb18e0de1f9630fab8b3d6ffe85c7a6ee35a6fdac (patch)
tree646a05e633981776bddc131e752024cb0d4ca46a /src/vnet/sr/sr_steering.c
parentadcaaf14012acec9afc3cb6f3738b98d9e9b4c04 (diff)
SR replicate mheap corruption fix VPP-672
Change-Id: If1c68fc63fa71fab198f2bf4f79bdd7a9841c2e8 Signed-off-by: shwethab <shwetha.bhandari@gmail.com> Signed-off-by: Pablo Camarillo <pcamaril@cisco.com>
Diffstat (limited to 'src/vnet/sr/sr_steering.c')
-rwxr-xr-xsrc/vnet/sr/sr_steering.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/sr/sr_steering.c b/src/vnet/sr/sr_steering.c
index 1699d888d02..5156b20474c 100755
--- a/src/vnet/sr/sr_steering.c
+++ b/src/vnet/sr/sr_steering.c
@@ -308,7 +308,8 @@ update_fib:
(table_id !=
(u32) ~ 0 ?
table_id : 0)),
- &pfx, FIB_SOURCE_CLI, FIB_ENTRY_FLAG_NONE,
+ &pfx, FIB_SOURCE_SR,
+ FIB_ENTRY_FLAG_LOOSE_URPF_EXEMPT,
FIB_PROTOCOL_IP6,
(ip46_address_t *) & sr_policy->bsid, ~0,
sm->fib_table_ip6, 1, NULL,
@@ -324,7 +325,8 @@ update_fib:
(table_id !=
(u32) ~ 0 ?
table_id : 0)),
- &pfx, FIB_SOURCE_CLI, FIB_ENTRY_FLAG_NONE,
+ &pfx, FIB_SOURCE_SR,
+ FIB_ENTRY_FLAG_LOOSE_URPF_EXEMPT,
FIB_PROTOCOL_IP6,
(ip46_address_t *) & sr_policy->bsid, ~0,
sm->fib_table_ip4, 1, NULL,