diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-07-31 06:33:15 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-31 10:28:19 +0300 |
commit | 240b74fde35293f718c6cdfa486b3a005c4243c9 (patch) | |
tree | e6ba6f8dbffaaf72f6ce83ce2ab9934249c96f80 /net/core | |
parent | 1f821611f49a89d2258d256efedd618eda6344be (diff) | |
download | linux-240b74fde35293f718c6cdfa486b3a005c4243c9.tar.xz |
nfp: fix variable dereferenced before check in nfp_app_ctrl_rx_raw()
'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 <dan.carpenter@oracle.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions