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)
commit3ae6ec08292f01c6782d1a80be0b2cc675e0ecfc
treeb08c733cb6ff19687b9e35792ee3ed302232e091
parenta882d20cdb7775ff8b4aac880255eff6a2c1c85e
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