Re: [B.A.T.M.A.N.] [PATCH v4 11/31] batman-adv: Drop reference to netdevice on last reference

Marek Lindner
2016-01-16T05:33:04Z

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

On Tuesday, January 05, 2016 12:06:26 Sven Eckelmann wrote:
> The references to the network device should be dropped inside the release
> function for batadv_hard_iface similar to what is done with the batman-adv
> internal datastructures.
>
> Fixes: b25cb3ddcccd ("batman-adv: use rcu callbacks when freeing batman_if")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> v4:
> - fix function names in commit messages
> - fix double whitespace in batadv_tt_orig_list_entry_release kerneldoc
> - add extra patch for batadv_claim_free_ref kerneldoc fix
> - change the phrase "free it" in all *_free_ref/*_put functions to "release
> it" v3:
> - update copyright year
> v2:
> - split patchset into fixes and kref migration to make it easier when the
> decision is made where each patch will be applied
>
> net/batman-adv/hard-interface.c | 13 ++++++++-----
> net/batman-adv/hard-interface.h | 6 +++---
> 2 files changed, 11 insertions(+), 8 deletions(-)

Applied in revision 42bf18a.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]