diff options
author | WANG Cong | 2014-02-12 02:07:31 +0100 |
---|---|---|
committer | David S. Miller | 2014-02-13 01:23:32 +0100 |
commit | 86062033feb8a1692f7a3d570c652f1b4a4b4b52 (patch) | |
tree | 1f17c34b7d610f666ffd9e20adbe998d846c7b9b /include/net/tc_act/tc_skbedit.h | |
parent | Merge branch 'bnx2x' (diff) | |
download | kernel-qcow2-linux-86062033feb8a1692f7a3d570c652f1b4a4b4b52.tar.gz kernel-qcow2-linux-86062033feb8a1692f7a3d570c652f1b4a4b4b52.tar.xz kernel-qcow2-linux-86062033feb8a1692f7a3d570c652f1b4a4b4b52.zip |
net_sched: act: hide struct tcf_common from API
Now we can totally hide it from modules. tcf_hash_*() API's
will operate on struct tc_action, modules don't need to care about
the details.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act/tc_skbedit.h')
-rw-r--r-- | include/net/tc_act/tc_skbedit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_skbedit.h b/include/net/tc_act/tc_skbedit.h index dd5d86fab030..0df9a0db4a8e 100644 --- a/include/net/tc_act/tc_skbedit.h +++ b/include/net/tc_act/tc_skbedit.h @@ -29,7 +29,7 @@ struct tcf_skbedit { u16 queue_mapping; /* XXX: 16-bit pad here? */ }; -#define to_skbedit(pc) \ - container_of(pc, struct tcf_skbedit, common) +#define to_skbedit(a) \ + container_of(a->priv, struct tcf_skbedit, common) #endif /* __NET_TC_SKBEDIT_H */ |