Commit e28c5ef
vxlan: Do not alloc tstats manually
With commit 34d21de ("net: Move {l,t,d}stats allocation to core and
convert veth & vrf"), stats allocation could be done on net core
instead of in this driver.
With this new approach, the driver doesn't have to bother with error
handling (allocation failure checking, making sure free happens in the
right spot, etc). This is core responsibility now.
Remove the allocation in the vxlan driver and leverage the network
core allocation instead.
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Subbaraya Sundeep <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent eaf657f commit e28c5ef
1 file changed
+2
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2841 | 2841 | | |
2842 | 2842 | | |
2843 | 2843 | | |
2844 | | - | |
2845 | | - | |
2846 | | - | |
2847 | | - | |
2848 | | - | |
2849 | | - | |
2850 | 2844 | | |
2851 | 2845 | | |
2852 | | - | |
| 2846 | + | |
2853 | 2847 | | |
2854 | 2848 | | |
2855 | 2849 | | |
| |||
2860 | 2854 | | |
2861 | 2855 | | |
2862 | 2856 | | |
2863 | | - | |
2864 | | - | |
2865 | 2857 | | |
2866 | 2858 | | |
2867 | 2859 | | |
| |||
2892 | 2884 | | |
2893 | 2885 | | |
2894 | 2886 | | |
2895 | | - | |
2896 | | - | |
2897 | 2887 | | |
2898 | 2888 | | |
2899 | 2889 | | |
| |||
3316 | 3306 | | |
3317 | 3307 | | |
3318 | 3308 | | |
| 3309 | + | |
3319 | 3310 | | |
3320 | 3311 | | |
3321 | 3312 | | |
| |||
0 commit comments