On Fri, May 06, 2016 at 10:27:09PM +0200, Sven Eckelmann wrote:
> The router is put down twice when it was non-NULL and either orig_ifinfo is
> NULL afterwards or batman-adv receives a packet with the same sequence
> number. This will end up in a use-after-free when the batadv_neigh_node is
> removed because the reference counter ended up too early at 0.
>
> Fixes: 667996ebeab4 ("batman-adv: OGMv2 - implement originators logic")
> Signed-off-by: Sven Eckelmann <[email protected]>Tested-by: Antonio Quartulli <[email protected]> it fixes the crash reported in "Kernel panic by BATMAN_V @WBMv9" for me. @Marek: can you also test this patch in your environment to see if you still see the crash? Cheers, -- Antonio Quartulli
signature.asc
Description: Digital signature
