Re: [NET_NEXT PATCH 2/2] pkt_action: add new action skbedit
From: Bill Fink <hidden>
Date: 2008-08-30 03:13:53
On Wed, 27 Aug 2008, Jeff Kirsher wrote:
From: Alexander Duyck <redacted> This new action will have the ability to change the priority and/or queue_mapping fields on an sk_buff. Signed-off-by: Alexander Duyck <redacted> Signed-off-by: Jeff Kirsher <redacted> --- include/linux/tc_act/tc_skbedit.h | 23 ++++ include/net/tc_act/tc_skbedit.h | 15 +++ net/sched/Kconfig | 11 ++ net/sched/Makefile | 1 net/sched/act_skbedit.c | 199 +++++++++++++++++++++++++++++++++++++ 5 files changed, 249 insertions(+), 0 deletions(-) create mode 100644 include/linux/tc_act/tc_skbedit.h create mode 100644 include/net/tc_act/tc_skbedit.h create mode 100644 net/sched/act_skbedit.c
quoted hunk ↗ jump to hunk
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index efaa7a7..613823b 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig@@ -485,6 +485,17 @@ config NET_ACT_SIMP To compile this code as a module, choose M here: the module will be called simple. +config NET_ACT_SKBEDIT + tristate "SKB Editing" + depends on NET_CLS_ACT + ---help--- + Say Y here to change skb priority or queue_mapping settings. + + If unsure, say N. + + To compile this code as a module, choose M here: the + module will be called simple. + config NET_CLS_IND bool "Incoming device classification" depends on NET_CLS_U32 || NET_CLS_FW
I'm rather backlogged on e-mail at the moment, so apologies if someone else already pointed this out, but I'm guessing there was a copy and paste error here, as the module shouldn't be called simple (that's for the preceding NET_ACT_SIMP). -Bill