commit | c9f1d0389b962521af1e2b699c8ee5e299d77b85 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Fri Sep 04 06:41:13 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 04 23:10:15 2009 -0700 |
tree | e317e8b012be8b31b303bdb3f6ee5e3929de0a7b | |
parent | b1f57195585e376d1944c32c046359640b06a669 [diff] |
net_sched: fix class grafting errno codes If the parent qdisc doesn't support classes, use EOPNOTSUPP. If the parent class doesn't exist, use ENOENT. Currently EINVAL is returned in both cases. Additionally check whether grafting is supported and remove a now unnecessary graft function from sch_ingress. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>