Skip to content

constify tc XXX_util structures

Stephen Hemminger netdev 1 version Applied

Status from this message: This series was applied to iproute2/iproute2.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4tc: make qdisc_util arg consttc/q_cake.c tc/q_cbs.c tc/q_choke.c +31 more+103 -1020 replies
2/4tc: make filter_util args consttc/f_basic.c tc/f_bpf.c tc/f_cgroup.c +9 more+27 -270 replies
3/4tc: make action_util arg consttc/m_action.c tc/m_bpf.c tc/m_connmark.c +18 more+49 -490 replies
4/4tc: make exec_util arg consttc/e_bpf.c tc/tc_exec.c tc/tc_util.h+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2 0/4] constify tc XXX_util structures

Constify the pointers to tc util struct. Only place it needs to mutable is when discovering and linking in new util structs.

Stephen Hemminger (4):
tc: make qdisc_util arg const
tc: make filter_util args const
tc: make action_util arg const
tc: make exec_util arg const

 tc/e_bpf.c        |  2 +-
 tc/f_basic.c      |  4 ++--
 tc/f_bpf.c        |  4 ++--
 tc/f_cgroup.c     |  4 ++--
 tc/f_flow.c       |  4 ++--
 tc/f_flower.c     |  4 ++--
 tc/f_fw.c         |  4 ++--
 tc/f_matchall.c   |  4 ++--
 tc/f_route.c      |  4 ++--
 tc/f_u32.c        |  4 ++--
 tc/m_action.c     |  4 ++--
 tc/m_bpf.c        |  4 ++--
 tc/m_connmark.c   |  4 ++--
 tc/m_csum.c       |  4 ++--
 tc/m_ct.c         |  4 ++--
 tc/m_ctinfo.c     |  4 ++--
 tc/m_gact.c       |  4 ++--
 tc/m_gate.c       |  8 ++++----
 tc/m_ife.c        |  4 ++--
 tc/m_mirred.c     |  6 +++---
 tc/m_mpls.c       |  4 ++--
 tc/m_nat.c        |  4 ++--
 tc/m_pedit.c      |  4 ++--
 tc/m_police.c     |  8 ++++----
 tc/m_sample.c     |  4 ++--
 tc/m_simple.c     |  4 ++--
 tc/m_skbedit.c    |  4 ++--
 tc/m_skbmod.c     |  4 ++--
 tc/m_tunnel_key.c |  4 ++--
 tc/m_vlan.c       |  4 ++--
 tc/q_cake.c       |  6 +++---
 tc/q_cbs.c        |  4 ++--
 tc/q_choke.c      |  6 +++---
 tc/q_clsact.c     |  4 ++--
 tc/q_codel.c      |  6 +++---
 tc/q_drr.c        |  8 ++++----
 tc/q_etf.c        |  4 ++--
 tc/q_ets.c        |  8 ++++----
 tc/q_fifo.c       |  4 ++--
 tc/q_fq.c         |  6 +++---
 tc/q_fq_codel.c   |  6 +++---
 tc/q_fq_pie.c     |  6 +++---
 tc/q_gred.c       |  6 +++---
 tc/q_hfsc.c       | 10 +++++-----
 tc/q_hhf.c        |  6 +++---
 tc/q_htb.c        |  8 ++++----
 tc/q_ingress.c    |  4 ++--
 tc/q_mqprio.c     |  4 ++--
 tc/q_multiq.c     |  4 ++--
 tc/q_netem.c      |  4 ++--
 tc/q_pie.c        |  6 +++---
 tc/q_plug.c       |  4 ++--
 tc/q_prio.c       |  4 ++--
 tc/q_qfq.c        |  6 +++---
 tc/q_red.c        |  8 ++++----
 tc/q_sfb.c        |  6 +++---
 tc/q_sfq.c        |  6 +++---
 tc/q_skbprio.c    |  4 ++--
 tc/q_taprio.c     |  6 +++---
 tc/q_tbf.c        |  4 ++--
 tc/tc.c           | 12 ++++++------
 tc/tc_class.c     |  6 +++---
 tc/tc_exec.c      |  2 +-
 tc/tc_filter.c    |  6 +++---
 tc/tc_qdisc.c     |  6 +++---
 tc/tc_util.h      | 35 ++++++++++++++++++-----------------
 66 files changed, 182 insertions(+), 181 deletions(-)
Signature · 1 line
2.43.0