]> git.puffer.fish Git - mirror/frr.git/commit
zebra: move the check for l3vni 11258/head
authoranlan_cs <vic.lan@pica8.com>
Thu, 19 May 2022 01:55:33 +0000 (21:55 -0400)
committeranlan_cs <vic.lan@pica8.com>
Thu, 23 Jun 2022 05:33:45 +0000 (01:33 -0400)
commit41a8b88ce4016e56cdf25bdfe094b6fd85d70036
treef033d7a6bd65815eba9ffc461e2b125042031b9f
parent2d088d8d535de7ef084b4583cdfda4b48a324a62
zebra: move the check for l3vni

The two checks for l3vni have been already done in
`lib_vrf_zebra_l3vni_id_modify()` as it should be. And it is improper that
the two checks are put after `zebra_vxlan_handle_vni_transition()`, which
will do real things.

My original fix is to remove them. But NB module can't guarantee many changes,
so we'd better keep them in `zebra_vxlan_process_vrf_vni_cmd()` in APPLY stage
for safe.

Just move them in front of `zebra_vxlan_handle_vni_transition()`.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
zebra/zebra_vxlan.c