diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-09-30 11:15:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-02 18:48:44 +0300 |
commit | afa0df5998131153ec3036f41e76ece33bf1334f (patch) | |
tree | ff8caf510ae4cb0e0a7df1a64dbd1fa82894856b /net/nsh | |
parent | c01ebd6c46980654220f6d2b660308a074ee29df (diff) | |
download | linux-afa0df5998131153ec3036f41e76ece33bf1334f.tar.xz |
net: push loops and nb calls into helper functions
Push iterations over net namespaces and netdevices from
register_netdevice_notifier() and unregister_netdevice_notifier()
into helper functions. Along with that introduce continue_reverse macros
to make the code a bit nicer allowing to get rid of "last" marks.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions