Re: [PATCH bpf-next] nfp: fix variable dereferenced before check in nfp_app_ctrl_rx_raw()
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-07-31 09:08:31
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-07-31 09:08:31
On 07/31/2018 05:33 AM, Jakub Kicinski wrote:
'app' is dereferenced before used for the devlink trace point. In case FW is buggy and sends a control message to a VF queue we should make sure app is not NULL. Reported-by: Dan Carpenter <redacted> Signed-off-by: Jakub Kicinski <redacted> Reviewed-by: Dirk van der Merwe <redacted>
Applied to bpf-next, thanks Jakub!