On Tue, Jan 8, 2019 at 6:41 PM Jason Gunthorpe <j...@mellanox.com> wrote:
>
> 'dev' is non NULL when the addr_len check triggers so it must goto a label
> that does the dev_put otherwise dev will have a leaked refcount.
>
> This bug causes the ib_ipoib module to become unloadable when using
> systemd-network as it triggers this check on InfiniBand links.
>
> Fixes: 99137b7888f4 ("packet: validate address length")
> Reported-by: Leon Romanovsky <leo...@mellanox.com>
> Signed-off-by: Jason Gunthorpe <j...@mellanox.com>

Acked-by: Willem de Bruijn <will...@google.com>

Argh, indeed. Thanks for the fix.

Reply via email to