diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2016-12-03 16:44:59 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-12-03 19:29:35 -0500 |
| commit | 1c677b3d2828a84e0360e1a07d1204531540dc03 (patch) | |
| tree | 722b60bcd53e51286e982f1b6e6b8073240a5b97 /tools/perf/scripts/python/bin | |
| parent | ipv4: fib: Export free_fib_info() (diff) | |
| download | linux-1c677b3d2828a84e0360e1a07d1204531540dc03.tar.gz linux-1c677b3d2828a84e0360e1a07d1204531540dc03.zip | |
ipv4: fib: Add fib_info_hold() helper
As explained in the previous commit, modules are going to need to take a
reference on fib info and then drop it using fib_info_put().
Add the fib_info_hold() helper to make the code more readable and also
symmetric with fib_info_put().
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Suggested-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
