]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Send a netevent whenever multipath hash policy is changed
authorIdo Schimmel <idosch@mellanox.com>
Thu, 2 Nov 2017 16:14:05 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Nov 2017 06:40:41 +0000 (15:40 +0900)
commit7ea1f7541af83bd2ccd1e7dbbb206558372f6ea4
treeb08c733cb6ff19687b9e35792ee3ed302232e091
parent3a5c8f156847da0e0ec026eee264967e24f22967
ipv4: Send a netevent whenever multipath hash policy is changed

Devices performing IPv4 forwarding need to update their multipath hash
policy whenever it is changed.

Inform these devices by generating a netevent.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netevent.h
net/ipv4/sysctl_net_ipv4.c