]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Fix possible null pointer dereference.
authorRakesh Babu Saladi <rsaladi2@marvell.com>
Wed, 27 Oct 2021 17:32:34 +0000 (23:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 13:47:37 +0000 (14:47 +0100)
commit12d4ecf0cf5b2e32c8f1dc722dc0ac51639b785c
tree9d8a2529c286a7d2bcd86cf5860c7bf8066c213d
parent2c7c488594ddb6dcd667176c6b03c3fb70a2fac2
octeontx2-af: Fix possible null pointer dereference.

This patch fixes possible null pointer dereference in files
"rvu_debugfs.c" and "rvu_nix.c"

Fixes: 09dac5d2dce4 ("octeontx2-af: Add NPA aura and pool contexts to debugfs")
Fixes: 5f32902b5e66 ("octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries")
Signed-off-by: Rakesh Babu Saladi <rsaladi2@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c