net: Add notifications when multipath hash field change
authorIdo Schimmel <idosch@nvidia.com>
Wed, 19 May 2021 12:08:18 +0000 (15:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 May 2021 19:47:47 +0000 (12:47 -0700)
commiteb0e4d59b6edbe678ecfc5d5b77608b634057f08
tree1aae634352e8eafd3f571a6dac294c583b102dec
parent340f42f7ff0b87a92e69b50706a6c872da756c89
net: Add notifications when multipath hash field change

In-kernel notifications are already sent when the multipath hash policy
itself changes, but not when the multipath hash fields change.

Add these notifications, so that interested listeners (e.g., switch ASIC
drivers) could perform the necessary configuration.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c
net/ipv6/sysctl_net_ipv6.c