aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-08-03 13:28:25 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-03 15:36:00 -0700
commita460aa83963b185a32a6377eb486b6e613ac8e38 (patch)
tree03992757839f1f03ae32475f966e300f7addf432 /block
parentipv6: Regenerate host route according to node pointer upon interface up (diff)
downloadlinux-dev-a460aa83963b185a32a6377eb486b6e613ac8e38.tar.xz
linux-dev-a460aa83963b185a32a6377eb486b6e613ac8e38.zip
ipv6: fib: Add helpers to hold / drop a reference on rt6_info
Similar to commit 1c677b3d2828 ("ipv4: fib: Add fib_info_hold() helper") and commit b423cb10807b ("ipv4: fib: Export free_fib_info()") add an helper to hold a reference on rt6_info and export rt6_release() to drop it and potentially release the route. This is needed so that drivers capable of FIB offload could hold a reference on the route before queueing it for offload and drop it after the route has been programmed to the device's tables. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions