]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/tc_qdisc.c
treewide: Use addattr_nest()/addattr_nest_end() to handle nested attributes
authorSerhey Popovych <serhe.popovych@gmail.com>
Wed, 31 Jan 2018 08:15:08 +0000 (10:15 +0200)
committerDavid Ahern <dsahern@gmail.com>
Fri, 2 Feb 2018 23:01:09 +0000 (15:01 -0800)
commitc14f9d92eee107fb9392ea262734cf430de5b571
tree57073071c3667d424c2060a40ddc93a0501b8890
parent28254695d1f33ed45f7e5dfe3bffe9f94bf6ab18
treewide: Use addattr_nest()/addattr_nest_end() to handle nested attributes

We have helper routines to support nested attribute addition into
netlink buffer: use them instead of open coding.

Use addattr_nest_compat()/addattr_nest_compat_end() where appropriate.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
51 files changed:
ip/iplink.c
ip/iplink_vlan.c
ip/iplink_vxcan.c
ip/link_veth.c
tc/f_flow.c
tc/f_fw.c
tc/f_route.c
tc/f_rsvp.c
tc/f_tcindex.c
tc/f_u32.c
tc/m_action.c
tc/m_bpf.c
tc/m_connmark.c
tc/m_csum.c
tc/m_ematch.c
tc/m_gact.c
tc/m_ife.c
tc/m_ipt.c
tc/m_mirred.c
tc/m_nat.c
tc/m_pedit.c
tc/m_police.c
tc/m_sample.c
tc/m_simple.c
tc/m_skbedit.c
tc/m_skbmod.c
tc/m_tunnel_key.c
tc/m_vlan.c
tc/m_xt.c
tc/m_xt_old.c
tc/q_atm.c
tc/q_cbq.c
tc/q_cbs.c
tc/q_choke.c
tc/q_codel.c
tc/q_drr.c
tc/q_dsmark.c
tc/q_fq.c
tc/q_fq_codel.c
tc/q_gred.c
tc/q_hfsc.c
tc/q_hhf.c
tc/q_htb.c
tc/q_mqprio.c
tc/q_netem.c
tc/q_pie.c
tc/q_qfq.c
tc/q_red.c
tc/q_sfb.c
tc/q_tbf.c
tc/tc_qdisc.c