]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sched/sch_fq.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[karo-tx-linux.git] / net / sched / sch_fq.c
index 21e251766eb1a099c8f603c1f7bb5d33ec5b04a2..23c682b42f99ecb86ca8a103005a52d692a21d38 100644 (file)
@@ -781,8 +781,7 @@ static int fq_dump(struct Qdisc *sch, struct sk_buff *skb)
            nla_put_u32(skb, TCA_FQ_BUCKETS_LOG, q->fq_trees_log))
                goto nla_put_failure;
 
-       nla_nest_end(skb, opts);
-       return skb->len;
+       return nla_nest_end(skb, opts);
 
 nla_put_failure:
        return -1;