commit | 7d3f0cd43feea1636dd7746f22fe8249b34d1b79 | [log] [tgz] |
---|---|---|
author | Gao Feng <gfree.wind@vip.163.com> | Fri Aug 18 15:23:24 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 21 13:40:31 2017 -0700 |
tree | 3b4187deb041d1d9667050bf1b64763fed79570f | |
parent | 40501f90ed5d992176ba504910d512d9dd1b2668 [diff] |
net: sched: Add the invalid handle check in qdisc_class_find Add the invalid handle "0" check to avoid unnecessary search, because the qdisc uses the skb->priority as the handle value to look up, and it is "0" usually. Signed-off-by: Gao Feng <gfree.wind@vip.163.com> Signed-off-by: David S. Miller <davem@davemloft.net>