This patchset adds network namespace support for tc actions. v2: * pull the first patch into net-next * reduce code duplication by introducing more helper functions
Cong Wang (2): net_sched: prepare tcf_hashinfo_destroy() for netns support net_sched: add network namespace support for tc actions include/net/act_api.h | 63 ++++++++++++++++------ net/sched/act_api.c | 137 ++++++++++++++++++++++++++++------------------- net/sched/act_bpf.c | 52 ++++++++++++++++-- net/sched/act_connmark.c | 54 ++++++++++++++++--- net/sched/act_csum.c | 59 +++++++++++++++++--- net/sched/act_gact.c | 55 ++++++++++++++++--- net/sched/act_ipt.c | 127 ++++++++++++++++++++++++++++++++++++++----- net/sched/act_mirred.c | 54 ++++++++++++++++--- net/sched/act_nat.c | 54 ++++++++++++++++--- net/sched/act_pedit.c | 54 ++++++++++++++++--- net/sched/act_police.c | 52 ++++++++++++++---- net/sched/act_simple.c | 55 ++++++++++++++++--- net/sched/act_skbedit.c | 54 ++++++++++++++++--- net/sched/act_vlan.c | 54 ++++++++++++++++--- 14 files changed, 771 insertions(+), 153 deletions(-) -- 2.1.0