Hi Team,
I have tried to use mpls_label_stack to keep some meta data for each route.
But the values of meta data were not copied correctly.
I just found the below code in "rt_next_hop_update_rte" function in rt-table.c
memcpy(mls.stack, &a->nh.label[a->nh.labels - mls.len], mls.len * sizeof(u32));
Here the "mls.stack" is passed directly instead of its address in memcpy.
Kindly let me know your thoughts on this.
Thanks,
Ramanathan