commit | 8c13af2a219c6498071b30ea558438c74267ae4d | [log] [tgz] |
---|---|---|
author | Yuval Mintz <yuvalm@mellanox.com> | Mon Mar 26 15:01:36 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 26 13:14:43 2018 -0400 |
tree | 747dd0d7e4eb618fbacc0cbf27e7900d95618b75 | |
parent | d3c07e5b9939a055fa017f200e535ae947eb22ab [diff] |
ip6mr: Add refcounting to mfc Since ipmr and ip6mr are using the same mr_mfc struct at their core, we can now refactor the ipmr_cache_{hold,put} logic and apply refcounting to both ipmr and ip6mr. Signed-off-by: Yuval Mintz <yuvalm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>