Skip to content

sched: cls_api: small cleanup

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sched: rename tcf_destroy to tcf_destroy_protoinclude/net/sch_generic.h net/sched/cls_api.c net/sched/sch_api.c+7 -71 reply
2/6sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_apiinclude/net/pkt_cls.h include/net/sch_generic.h net/sched/cls_api.c +12 more+34 -263 replies
3/6sched: push TC filter protocol creation into a separate functionnet/sched/cls_api.c+59 -511 reply
4/6sched: move err set right before goto errout in tc_ctl_tfilternet/sched/cls_api.c+19 -101 reply
5/6sched: add missing curly braces in else branch in tc_ctl_tfilternet/sched/cls_api.c+2 -12 replies
6/6sched: check negative err value to safe one level of indentnet/sched/cls_api.c+9 -131 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJamal Hadi Salim
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch net-next 0/6] sched: cls_api: small cleanup

From: Jiri Pirko <[email protected]>

This patchset makes couple of things in cls_api code a bit nicer and easier for reader to digest.

Jiri Pirko (6):
sched: rename tcf_destroy to tcf_destroy_proto
sched: move tcf_proto_destroy and tcf_destroy_chain helpers into
cls_api
sched: push TC filter protocol creation into a separate function
sched: move err set right before goto errout in tc_ctl_tfilter
sched: add missing curly braces in else branch in tc_ctl_tfilter
sched: check negative err value to safe one level of indent

 include/net/pkt_cls.h     |   2 +
 include/net/sch_generic.h |   2 -
 net/sched/cls_api.c       | 191 +++++++++++++++++++++++++++-------------------
 net/sched/sch_api.c       |  22 ------
 net/sched/sch_atm.c       |   1 +
 net/sched/sch_cbq.c       |   1 +
 net/sched/sch_choke.c     |   1 +
 net/sched/sch_dsmark.c    |   1 +
 net/sched/sch_fq_codel.c  |   1 +
 net/sched/sch_htb.c       |   1 +
 net/sched/sch_ingress.c   |   1 +
 net/sched/sch_multiq.c    |   2 +-
 net/sched/sch_prio.c      |   2 +-
 net/sched/sch_sfb.c       |   1 +
 net/sched/sch_sfq.c       |   1 +
 15 files changed, 126 insertions(+), 104 deletions(-)
Signature · 1 line
2.7.4