On 3/10/21 8:03 AM, Petr Machata wrote: > Nexthop replacements et.al. are notified through netlink, but if a delayed > work migrates buckets on the background, userspace will stay oblivious. > Notify these as RTM_NEWNEXTHOPBUCKET events. > > Signed-off-by: Petr Machata <pe...@nvidia.com> > Reviewed-by: Ido Schimmel <ido...@nvidia.com> > --- > > Notes: > v1 (changes since RFC): > - u32 -> u16 for bucket counts / indices > > net/ipv4/nexthop.c | 45 +++++++++++++++++++++++++++++++++++++++------ > 1 file changed, 39 insertions(+), 6 deletions(-) >
Reviewed-by: David Ahern <dsah...@kernel.org>