search for: neigh_var_base_reachable_time_m

Displaying 1 result from an estimated 1 matches for "neigh_var_base_reachable_time_m".

2023 Aug 08
0
[Bridge] [PATCH v2 11/14] networking: Update to register_net_sysctl_sz
...eigh_vars); > > if (dev) { > > dev_name_source = dev->name; > > /* Terminate the table early */ > > memset(&t->neigh_vars[NEIGH_VAR_GC_INTERVAL], 0, > > sizeof(t->neigh_vars[NEIGH_VAR_GC_INTERVAL])); > > + neigh_vars_size = NEIGH_VAR_BASE_REACHABLE_TIME_MS; > > %NEIGH_VAR_BASE_REACHABLE_TIME_MS is last usable index here, and since those > are 0 based, size is one more, %NEIGH_VAR_GC_INTERVAL. > (spelling it "NEIGH_VAR_BASE_REACHABLE_TIME_MS+1" would be perhaps better?) This is a very good catch. Thx for this!! I'll correct...