]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87fcc2d888b497ab581065149cfc798a51d7a1eb
tree1aae634352e8eafd3f571a6dac294c583b102dec
parent05ff1c535f0c9f70b6533eac939c3ef095968580
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