]> git.droids-corp.org - dpdk.git/commit
net/nfb: fix array indexes in deinit functions
authorMartin Spinler <spinler@cesnet.cz>
Tue, 15 Feb 2022 12:55:39 +0000 (13:55 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 15 Feb 2022 13:53:41 +0000 (14:53 +0100)
commit8a4c8edb1154a58bad807cdc2ca947773e2ee8f1
treebeaf62e41b60aa4252dab2f99dd3585e7aca7a5b
parent3f326c460ff09146917d6a060cf5715a1b8b6446
net/nfb: fix array indexes in deinit functions

The indexes in the for cycle were wrongly used and
the code accessed outside of the rxmac/txmac array.

Fixes: 6435f9a0ac22 ("net/nfb: add new netcope driver")
Cc: stable@dpdk.org
Signed-off-by: Martin Spinler <spinler@cesnet.cz>
drivers/net/nfb/nfb_ethdev.c