Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: return proper value in case of hash_add failure

Marek Lindner
2012-08-22T00:28:43Z

On Saturday, August 11, 2012 11:11:00 Antonio Quartulli wrote:
> In case of hash_add failure tt_global_add() must return 0 (which means on
> entry insertion).
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
>
> This patch is based on master. This bug exists since "a bit" but nobody
> actually found it because this bug should have been triggered in the
> unlikely case of hash
> adding failure. Therefore I do not think it is a crucial bug and it is not
> worth sending this patch to stable.
>
> Cheers,
>
>
> translation-table.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied in revision 956c0b8.

Thanks,
Marek