Re: [PATCH] net/mlx4_en: fix off by one in error handling

From: David Miller
Date: Fri Sep 16 2016 - 04:16:59 EST

From: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Sep 2016 13:09:24 +0200 (CEST)

> If an error occurs in mlx4_init_eq_table the index used in the
> err_out_unmap label is one too big which results in a panic in
> mlx4_free_eq. This patch fixes the index in the error path.
> Signed-off-by: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>