An error occurred fetching the project authors.
  1. 04 Dec, 2020 2 commits
  2. 18 Aug, 2020 1 commit
  3. 26 Jun, 2020 1 commit
  4. 31 Dec, 2019 1 commit
  5. 09 Dec, 2019 1 commit
  6. 06 May, 2019 1 commit
    • Linus Lüssing's avatar
      batman-adv: mcast: fix multicast tt/tvlv worker locking · a3c7cd0c
      Linus Lüssing authored
      Syzbot has reported some issues with the locking assumptions made for
      the multicast tt/tvlv worker: It was able to trigger the WARN_ON() in
      batadv_mcast_mla_tt_retract() and batadv_mcast_mla_tt_add().
      While hard/not reproduceable for us so far it seems that the
      delayed_work_pending() we use might not be quite safe from reordering.
      
      Therefore this patch adds an explicit, new spinlock to protect the
      update of the mla_list and flags in bat_priv and then removes the
      WARN_ON(delayed_work_pending()).
      
      Reported-by: syzbot+83f2d54ec6b7e417e13f@syzkaller.appspotmail.com
      Reported-by: syzbot+050927a651272b145a5d@syzkaller.appspotmail.com
      Reported-by: syzbot+979ffc89b87309b1b94b@syzkaller.appspotmail.com
      Reported-by: syzbot+f9f3f388440283da2965@syzkaller.appspotmail.com
      Fixes: cbebd363 ("batman-adv: Use own timer for multicast TT and TVLV updates")
      Signed-off-by: default avatarLinus Lüssing <linus.luessing@c0d3.blue>
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
      a3c7cd0c
  7. 25 Mar, 2019 2 commits
  8. 04 Jan, 2019 1 commit
  9. 12 Nov, 2018 2 commits
    • Sven Eckelmann's avatar
      batman-adv: Add inconsistent hardif netlink dump detection · fb69be69
      Sven Eckelmann authored
      The netlink dump functionality transfers a large number of entries from the
      kernel to userspace. It is rather likely that the transfer has to
      interrupted and later continued. During that time, it can happen that
      either new entries are added or removed. The userspace could than either
      receive some entries multiple times or miss entries.
      
      Commit 670dc283 ("netlink: advertise incomplete dumps") introduced a
      mechanism to inform userspace about this problem. Userspace can then decide
      whether it is necessary or not to retry dumping the information again.
      
      The netlink dump functions have to be switched to exclusive locks to avoid
      changes while the current message is prepared. And an external generation
      sequence counter is introduced which tracks all modifications of the list.
      Reported-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
      fb69be69
    • Sven Eckelmann's avatar
      batman-adv: Add inconsistent gateway netlink dump detection · 9264c85c
      Sven Eckelmann authored
      The netlink dump functionality transfers a large number of entries from the
      kernel to userspace. It is rather likely that the transfer has to
      interrupted and later continued. During that time, it can happen that
      either new entries are added or removed. The userspace could than either
      receive some entries multiple times or miss entries.
      
      Commit 670dc283 ("netlink: advertise incomplete dumps") introduced a
      mechanism to inform userspace about this problem. Userspace can then decide
      whether it is necessary or not to retry dumping the information again.
      
      The netlink dump functions have to be switched to exclusive locks to avoid
      changes while the current message is prepared. And an external generation
      sequence counter is introduced which tracks all modifications of the list.
      Reported-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
      9264c85c
  10. 26 Feb, 2018 1 commit
  11. 21 Dec, 2017 1 commit
  12. 15 Dec, 2017 5 commits
  13. 30 Sep, 2017 1 commit
  14. 28 Sep, 2017 1 commit
  15. 26 Mar, 2017 1 commit
  16. 26 Jan, 2017 1 commit
  17. 08 Nov, 2016 2 commits
  18. 19 Oct, 2016 1 commit
  19. 09 Aug, 2016 3 commits
  20. 04 Jul, 2016 2 commits
  21. 30 Jun, 2016 5 commits
  22. 10 May, 2016 2 commits
  23. 03 May, 2016 1 commit
  24. 29 Feb, 2016 1 commit
    • Antonio Quartulli's avatar
      batman-adv: OGMv2 - add basic infrastructure · 0da00359
      Antonio Quartulli authored
      This is the initial implementation of the new OGM protocol
      (version 2). It has been designed to work on top of the
      newly added ELP.
      
      In the previous version the OGM protocol was used to both
      measure link qualities and flood the network with the metric
      information. In this version the protocol is in charge of
      the latter task only, leaving the former to ELP.
      
      This means being able to decouple the interval used by the
      neighbor discovery from the OGM broadcasting, which revealed
      to be costly in dense networks and needed to be relaxed so
      leading to a less responsive routing protocol.
      Signed-off-by: default avatarAntonio Quartulli <antonio@open-mesh.com>
      Signed-off-by: default avatarMarek Lindner <mareklindner@neomailbox.ch>
      0da00359