[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190712.152955.99149572464673787.davem@davemloft.net>
Date: Fri, 12 Jul 2019 15:29:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vladbu@...lanox.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, pablo@...filter.org, saeedm@...lanox.com
Subject: Re: [PATCH net-next] net/mlx5e: Provide cb_list pointer when
setting up tc block on rep
From: Vlad Buslov <vladbu@...lanox.com>
Date: Wed, 10 Jul 2019 21:25:54 +0300
> Recent refactoring of tc block offloads infrastructure introduced new
> flow_block_cb_setup_simple() method intended to be used as unified way for
> all drivers to register offload callbacks. However, commit that actually
> extended all users (drivers) with block cb list and provided it to
> flow_block infra missed mlx5 en_rep. This leads to following NULL-pointer
> dereference when creating Qdisc:
...
> Extend en_rep with new static mlx5e_rep_block_cb_list list and pass it to
> flow_block_cb_setup_simple() function instead of hardcoded NULL pointer.
>
> Fixes: 955bcb6ea0df ("drivers: net: use flow block API")
> Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
Applied, thanks.
Powered by blists - more mailing lists