summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_red.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-09-04 08:41:13 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-05 08:10:15 +0200
commitc9f1d0389b962521af1e2b699c8ee5e299d77b85 (patch)
treee317e8b012be8b31b303bdb3f6ee5e3929de0a7b /net/sched/sch_red.c
parentnetlink: silence compiler warning (diff)
downloadlinux-c9f1d0389b962521af1e2b699c8ee5e299d77b85.tar.xz
linux-c9f1d0389b962521af1e2b699c8ee5e299d77b85.zip
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>
Diffstat (limited to 'net/sched/sch_red.c')
0 files changed, 0 insertions, 0 deletions