diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-02-02 19:11:25 +0300 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-02-02 19:11:25 +0300 | 
| commit | 1ac88792c0cb306bdb05f977f88f449fe7a1a1ea (patch) | |
| tree | c84b03a39dcb1ad4ba525fc271d71354fd2ea931 /zebra/zebra_fpm.c | |
| parent | cc73a06499cc31b29e96e6b04ab6e7b181f09e28 (diff) | |
*: fix all backets
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'zebra/zebra_fpm.c')
| -rw-r--r-- | zebra/zebra_fpm.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c index 18ccbb79fb..73534c4332 100644 --- a/zebra/zebra_fpm.c +++ b/zebra/zebra_fpm.c @@ -70,7 +70,7 @@ DEFINE_MTYPE_STATIC(ZEBRA, FPM_MAC_INFO, "FPM_MAC_INFO");  #define ZFPM_STATS_IVL_SECS        10  #define FPM_MAX_MAC_MSG_LEN 512 -static void zfpm_iterate_rmac_table(struct hash_bucket *backet, void *args); +static void zfpm_iterate_rmac_table(struct hash_bucket *bucket, void *args);  /*   * Structure that holds state for iterating over all route_node @@ -1635,10 +1635,10 @@ static int zfpm_trigger_rmac_update(zebra_mac_t *rmac, zebra_l3vni_t *zl3vni,   * Iterate over all the RMAC entries for the given L3VNI   * and enqueue the RMAC for FPM processing.   */ -static void zfpm_trigger_rmac_update_wrapper(struct hash_bucket *backet, +static void zfpm_trigger_rmac_update_wrapper(struct hash_bucket *bucket,  					     void *args)  { -	zebra_mac_t *zrmac = (zebra_mac_t *)backet->data; +	zebra_mac_t *zrmac = (zebra_mac_t *)bucket->data;  	zebra_l3vni_t *zl3vni = (zebra_l3vni_t *)args;  	zfpm_trigger_rmac_update(zrmac, zl3vni, false, "RMAC added"); @@ -1649,9 +1649,9 @@ static void zfpm_trigger_rmac_update_wrapper(struct hash_bucket *backet,   * This function iterates over all the L3VNIs to trigger   * FPM updates for RMACs currently available.   */ -static void zfpm_iterate_rmac_table(struct hash_bucket *backet, void *args) +static void zfpm_iterate_rmac_table(struct hash_bucket *bucket, void *args)  { -	zebra_l3vni_t *zl3vni = (zebra_l3vni_t *)backet->data; +	zebra_l3vni_t *zl3vni = (zebra_l3vni_t *)bucket->data;  	hash_iterate(zl3vni->rmac_table, zfpm_trigger_rmac_update_wrapper,  		     (void *)zl3vni);  | 
