net_sched: return nla_nest_end() instead of skb->len
nla_nest_end() already has return skb->len, so replace return skb->len with return nla_nest_end instead(). Signed-off-by:Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/sched/sch_atm.c 1 addition, 2 deletionsnet/sched/sch_atm.c
- net/sched/sch_cbq.c 2 additions, 4 deletionsnet/sched/sch_cbq.c
- net/sched/sch_fq.c 1 addition, 2 deletionsnet/sched/sch_fq.c
- net/sched/sch_fq_codel.c 1 addition, 2 deletionsnet/sched/sch_fq_codel.c
- net/sched/sch_hfsc.c 1 addition, 2 deletionsnet/sched/sch_hfsc.c
- net/sched/sch_hhf.c 1 addition, 2 deletionsnet/sched/sch_hhf.c
- net/sched/sch_ingress.c 1 addition, 2 deletionsnet/sched/sch_ingress.c
- net/sched/sch_tbf.c 1 addition, 2 deletionsnet/sched/sch_tbf.c
Loading
Please register or sign in to comment