diff options
author | Po Liu <Po.Liu@nxp.com> | 2020-05-07 18:57:38 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-07 13:05:46 -0700 |
commit | 571cf29644542b9e410ed102cb35ecb27b4fdfa3 (patch) | |
tree | 9ce6f7827d196fa6d52357d8f58a2b7e1bd73c47 /samples/pktgen | |
parent | 7f960633a458136d168f2049508d39cba8be55bd (diff) | |
download | linux-571cf29644542b9e410ed102cb35ecb27b4fdfa3.tar.bz2 |
net:enetc: bug fix for qos sfi operate space after freed
'Dan Carpenter' reported:
This code frees "sfi" and then dereferences it on the next line:
> kfree(sfi);
> clear_bit(sfi->index, epsfp.psfp_sfi_bitmap);
This "sfi->index" should be "index".
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Po Liu <Po.Liu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pktgen')
0 files changed, 0 insertions, 0 deletions