On Monday 11 April 2016 18:13:09 Marek Lindner wrote:
On Saturday, March 05, 2016 16:09:19 Sven Eckelmann wrote:
The callers of the functions using batadv_hard_iface objects have to make sure that they already hold a valid reference. The subfunctions don't have to check whether the reference counter is > 0 because this was already checked by the callers.
You say the callers have to make sure that valid references exist but do they or is this coming later or .. ?
This was in
[PATCH 1/9] batman-adv: Check hard_iface refcnt before calling function [PATCH 2/9] batman-adv: Check hard_iface refcnt when receiving skb
Kind regards, Sven