diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-11-02 19:14:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-03 09:40:41 +0300 |
commit | 3ae6ec08292f01c6782d1a80be0b2cc675e0ecfc (patch) | |
tree | b08c733cb6ff19687b9e35792ee3ed302232e091 /include/net | |
parent | a882d20cdb7775ff8b4aac880255eff6a2c1c85e (diff) | |
download | linux-3ae6ec08292f01c6782d1a80be0b2cc675e0ecfc.tar.xz |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netevent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h index f440df172b56..e3f0e8f2f6e8 100644 --- a/include/net/netevent.h +++ b/include/net/netevent.h @@ -25,6 +25,7 @@ enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, /* arg is struct neighbour ptr */ NETEVENT_REDIRECT, /* arg is struct netevent_redirect ptr */ NETEVENT_DELAY_PROBE_TIME_UPDATE, /* arg is struct neigh_parms ptr */ + NETEVENT_MULTIPATH_HASH_UPDATE, /* arg is struct net ptr */ }; int register_netevent_notifier(struct notifier_block *nb); |