diff options
| author | rgirada <rgirada@vmware.com> | 2019-02-04 05:19:54 -0800 |
|---|---|---|
| committer | rgirada <rgirada@vmware.com> | 2019-02-04 05:19:54 -0800 |
| commit | 54e80c7656779081bfb2dda62c157a6db87112b4 (patch) | |
| tree | 83d6acf0c609ced01d0580669690af139aa89de7 /zebra/zebra_netns_notify.c | |
| parent | 64957b279cf56216f7849c1c1999ed6b7fcdd2c1 (diff) | |
zebrad: Added changes to track route-map usage
Made changes and updated the routemap applied counter in the following flows.
1.Increment when route map attached to a list.
2.Decrement when route map removed / modified from a list.
3.Increment/decrement when route map create/delete callback triggered.
4.Besides ,This counter need not be updated when a route map is got updated.
i.e changing/adding a match value to the existing routemap.
In Zebra , same update api called for all three add/delete/update operation.
But this counter have to be updated only for routemap addition.
Addressed this specific change by identifying the routemap operation based
on routemap pointer.
Signed-off-by: RajeshGirada <rgirada@vmware.com>
Diffstat (limited to 'zebra/zebra_netns_notify.c')
0 files changed, 0 insertions, 0 deletions
