From: Patrick McHardy Date: Fri, 4 Sep 2009 06:41:13 +0000 (+0000) Subject: net_sched: fix class grafting errno codes X-Git-Tag: v2.6.32-rc1~703^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9f1d0389b962521af1e2b699c8ee5e299d77b85;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed