Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice: add check for null-pointer dereference
Although it should never occur that the teid (scheduler node id) value for a txq is incorrect, put in a check for null following the scheduler node lookup in ice_tm_setup_txq_node. This provides some additional safety and should eliminate a coverity issue too. Coverity issue: 448957 Fixes: 715d449 ("net/ice: enhance Tx scheduler hierarchy support") Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Ian Stokes <[email protected]>
- Loading branch information