On Sunday 16 February 2014 13:01:02 Linus Lüssing wrote:
> The compat code of the new multicast patchset leads to null pointer
> derefernces for kernels 3.9 in netdev_master_upper_dev_get_rcu(). This
> is because the initially NULL is assigned to upper, which is equal to
> dev. dev is dereferenced one line later, though, leading to a crash.
>
> Fixing this by assigning NULL only when we are sure that the according
> pointer is not going to be dereferenced anymore.
>
> Introduced by: 532cadf26cfbb1099ef31fae9ccafcbbfc37b9b5
> ("batman-adv: Multicast Listener Announcements via Translation Table")
>
> Reported-by: Marek Lindner <[email protected]>
> Signed-off-by: Linus Lüssing <[email protected]>
> ---
> compat.h | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)Applied in revision 65d8217. Thanks, Marek
signature.asc
Description: This is a digitally signed message part.
