aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAya Levin <[email protected]>2023-03-12 16:37:36 +0200
committerSaeed Mahameed <[email protected]>2023-04-20 18:47:33 -0700
commit1b540decd03acd736693aabb6cb46c71fca38ae6 (patch)
treeac4b482e3f584019123a4a56ffa4dc44bfa64a42 /lib/test_fortify/write_overflow-strncpy-src.c
parentdfad99750c0f83b0242572a573afa2c055f85b36 (diff)
net/mlx5e: Nullify table pointer when failing to create
On failing to create promisc flow steering table, the pointer is returned with an error. Nullify it so unloading the driver won't try to destroy a non existing table. Failing to create promisc table may happen over BF devices when the ARM side is going through a firmware tear down. The host side start a reload flow. While the driver unloads, it tries to remove the promisc table. Remove WARN in this state as it is a valid error flow. Fixes: 1c46d7409f30 ("net/mlx5e: Optimize promiscuous mode") Signed-off-by: Aya Levin <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions