diff options
author | Ido Schimmel | 2018-01-07 12:45:04 +0200 |
---|---|---|
committer | David S. Miller | 2018-01-07 21:29:40 -0500 |
commit | 4c981e28d373e391b76577635e7e216976b71c57 (patch) | |
tree | 65f4704cdfbd3a018c5ac6f60ae10b4fc5fedd51 /arch/alpha | |
parent | 2127d95aef6c795c3bd8b805722c5c46e8fe45dd (diff) |
ipv6: Prepare to handle multiple netdev events
To make IPv6 more in line with IPv4 we need to be able to respond
differently to different netdev events. For example, when a netdev is
unregistered all the routes using it as their nexthop device should be
flushed, whereas when the netdev's carrier changes only the 'linkdown'
flag should be toggled.
Currently, this is not possible, as the function that traverses the
routing tables is not aware of the triggering event.
Propagate the triggering event down, so that it could be used in later
patches.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/alpha')
0 files changed, 0 insertions, 0 deletions