1. 19 10月, 2016 1 次提交
  2. 09 8月, 2016 1 次提交
  3. 04 7月, 2016 1 次提交
  4. 30 6月, 2016 4 次提交
  5. 10 5月, 2016 1 次提交
    • S
      batman-adv: Check hard_iface refcnt before calling function · 27353446
      Sven Eckelmann 提交于
      The batadv_hardif_list list is checked in many situations and the items
      in this list are given to specialized functions to modify the routing
      behavior. At the moment each of these called functions has to check
      itself whether the received batadv_hard_iface has a refcount > 0 before
      it can increase the reference counter and use it in other objects.
      
      This can easily lead to problems because it is not easily visible where
      all callers of a function got the batadv_hard_iface object from and
      whether they already hold a valid reference.
      
      Checking the reference counter directly before calling a subfunction
      with a pointer from the batadv_hardif_list avoids this problem.
      Signed-off-by: NSven Eckelmann <sven@narfation.org>
      Signed-off-by: NMarek Lindner <mareklindner@neomailbox.ch>
      Signed-off-by: NAntonio Quartulli <a@unstable.cc>
      27353446
  6. 04 5月, 2016 2 次提交
  7. 29 2月, 2016 4 次提交