Commit cb589a66 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller

[PKT_SCHED]: tcindex: allow changing parameters for existing filters and use tcf_exts API

Transforms tcindex to use tcf_exts API and thus adds support for
actions. Replaces the existing change implementation with a new one
supporting changes for existing filters which allows to change a
classifier without letting a single packet pass by unclassified.

Fixes various cases where a error is returned but the filter was
changed already.
Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 89601f82
...@@ -312,6 +312,7 @@ enum ...@@ -312,6 +312,7 @@ enum
TCA_TCINDEX_FALL_THROUGH, TCA_TCINDEX_FALL_THROUGH,
TCA_TCINDEX_CLASSID, TCA_TCINDEX_CLASSID,
TCA_TCINDEX_POLICE, TCA_TCINDEX_POLICE,
TCA_TCINDEX_ACT,
__TCA_TCINDEX_MAX __TCA_TCINDEX_MAX
}; };
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment