diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-01-17 11:01:11 +0100 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-23 13:48:25 +0800 |
commit | 25bb250996eea422171ede0ada8814188dda8937 (patch) | |
tree | 055d2d5181e2d91970babbf063c5698d240fa225 /net/batman-adv/network-coding.c | |
parent | 82047ad7fecdc2d58bbeeb3872811b1c528fdf10 (diff) | |
download | talos-obmc-linux-25bb250996eea422171ede0ada8814188dda8937.tar.gz talos-obmc-linux-25bb250996eea422171ede0ada8814188dda8937.zip |
batman-adv: Rename batadv_neigh_node *_free_ref function to *_put
The batman-adv source code is the only place in the kernel which uses the
*_free_ref naming scheme for the *_put functions. Changing it to *_put
makes it more consistent and makes it easier to understand the connection
to the *_get functions.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r-- | net/batman-adv/network-coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index 3a42e26b2240..e9409bad35e7 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -1228,9 +1228,9 @@ static bool batadv_nc_code_packets(struct batadv_priv *bat_priv, res = true; out: if (router_neigh) - batadv_neigh_node_free_ref(router_neigh); + batadv_neigh_node_put(router_neigh); if (router_coding) - batadv_neigh_node_free_ref(router_coding); + batadv_neigh_node_put(router_coding); if (router_neigh_ifinfo) batadv_neigh_ifinfo_free_ref(router_neigh_ifinfo); if (router_coding_ifinfo) |