Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice/base: fix getting sched node from ID type
[ upstream commit 8f7a83e ] The function ice_sched_get_node_by_id_type needs to be called with the scheduler lock held. However, the function ice_sched_get_node also requests the scheduler lock. It will cause the dead lock issue. This patch replaces function ice_sched_get_node with function ice_sched_find_node_by_teid to solve this problem. Fixes: 93e84b1 ("net/ice/base: add basic Tx scheduler") Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information