summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChinmayaAgarwal <chinmaya.agarwal@hsc.com>2022-09-29 12:17:05 +0530
committerDamjan Marion <dmarion@0xa5.net>2022-11-09 15:56:48 +0000
commit4dbd641136db81ba969a5a1c0374ec9c24525526 (patch)
treefee2c224c160d4a34f985c6d66ad9d95b6d4eae3
parent80c5fb76fc1ff23dada2d1d7a319b5896ea28456 (diff)
sr: fix added for configuring vlan sub interface as iif interface in End.AD.Flow localsid
Type: fix Signed-off-by: ChinmayaAgarwal <chinmaya.agarwal@hsc.com> Change-Id: Ifad23978b98c5e05d86f6254bfb65baa0b380436
-rw-r--r--src/plugins/srv6-ad-flow/ad-flow.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/srv6-ad-flow/ad-flow.c b/src/plugins/srv6-ad-flow/ad-flow.c
index 56a7f643a00..d13a1c95969 100644
--- a/src/plugins/srv6-ad-flow/ad-flow.c
+++ b/src/plugins/srv6-ad-flow/ad-flow.c
@@ -94,14 +94,6 @@ srv6_ad_flow_localsid_creation_fn (ip6_sr_localsid_t *localsid)
return SID_CREATE_INVALID_IFACE_INDEX;
}
- vnet_sw_interface_t *sw =
- vnet_get_sw_interface (sm->vnet_main, ls_mem->sw_if_index_in);
- if (sw->type != VNET_SW_INTERFACE_TYPE_HARDWARE)
- {
- adj_unlock (ls_mem->nh_adj);
- clib_mem_free (ls_mem);
- return SID_CREATE_INVALID_IFACE_TYPE;
- }
if (ls_mem->inner_type == AD_TYPE_IP4)
{