batman-adv: Merge bugfixes from 2019.4 520/head
authorSven Eckelmann <sven@narfation.org>
Fri, 25 Oct 2019 20:25:10 +0000 (22:25 +0200)
committerSven Eckelmann <sven@narfation.org>
Fri, 25 Oct 2019 20:41:19 +0000 (22:41 +0200)
commitee3264b6aa1fb069eabe1e7cc67c9272cf95c423
tree714e0a26a2d62988f7447e82a3812df59355de8f
parent049cb8a4c40e3a69babbdb9a8fa70f1f5844824d
batman-adv: Merge bugfixes from 2019.4

* fix uninit-value in batadv_netlink_get_ifindex()
* Only read OGM tvlv_len after buffer len check
* Only read OGM2 tvlv_len after buffer len check
* Avoid free/alloc race when handling OGM2 buffer
* Avoid free/alloc race when handling OGM buffer
* Introduce own OGM2 buffer mutex
* Avoid OGM workqueue synchronous cancel deadlock

Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/patches/0010-batman-adv-fix-uninit-value-in-batadv_netlink_get_if.patch [new file with mode: 0644]
batman-adv/patches/0011-batman-adv-Only-read-OGM-tvlv_len-after-buffer-len-c.patch [new file with mode: 0644]
batman-adv/patches/0012-batman-adv-Only-read-OGM2-tvlv_len-after-buffer-len-.patch [new file with mode: 0644]
batman-adv/patches/0013-batman-adv-Avoid-free-alloc-race-when-handling-OGM2-.patch [new file with mode: 0644]
batman-adv/patches/0014-batman-adv-Avoid-free-alloc-race-when-handling-OGM-b.patch [new file with mode: 0644]
batman-adv/patches/0015-batman-adv-Introduce-own-OGM2-buffer-mutex.patch [new file with mode: 0644]
batman-adv/patches/0016-batman-adv-Avoid-OGM-workqueue-synchronous-cancel-de.patch [new file with mode: 0644]