mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
net/sched: taprio: replace safety precautions with comments
[ Upstream commit2c08a4f898] The WARN_ON_ONCE() checks introduced in commit13511704f8("net: taprio offload: enforce qdisc to netdev queue mapping") take a small toll on performance, but otherwise, the conditions are never expected to happen. Replace them with comments, such that the information is still conveyed to developers. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of:105425b196("net/sched: taprio: fix use-after-free in advance_sched() on schedule switch") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e592f3f06d
commit
08eff95b41
1 changed files with 9 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue