summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_ife.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-08-10 14:11:54 +0200
committerIngo Molnar <mingo@kernel.org>2016-08-10 14:11:54 +0200
commita2071cd765637002523798358d2ca441306d708b (patch)
treebafac1682bfa91457439cad09d2eeea71f2ad3bf /include/net/tc_act/tc_ife.h
parent784bdf3bb694b256fcd6120b93e8947a84249a3a (diff)
parenta0cba2179ea4c1820fce2ee046b6ed90ecc56196 (diff)
downloadblackbird-op-linux-a2071cd765637002523798358d2ca441306d708b.tar.gz
blackbird-op-linux-a2071cd765637002523798358d2ca441306d708b.zip
Merge branch 'linus' into locking/urgent, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/net/tc_act/tc_ife.h')
-rw-r--r--include/net/tc_act/tc_ife.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/tc_act/tc_ife.h b/include/net/tc_act/tc_ife.h
index c55facd17b7e..5164bd7a38fb 100644
--- a/include/net/tc_act/tc_ife.h
+++ b/include/net/tc_act/tc_ife.h
@@ -8,7 +8,7 @@
#define IFE_METAHDRLEN 2
struct tcf_ife_info {
- struct tcf_common common;
+ struct tc_action common;
u8 eth_dst[ETH_ALEN];
u8 eth_src[ETH_ALEN];
u16 eth_type;
@@ -16,8 +16,7 @@ struct tcf_ife_info {
/* list of metaids allowed */
struct list_head metalist;
};
-#define to_ife(a) \
- container_of(a->priv, struct tcf_ife_info, common)
+#define to_ife(a) ((struct tcf_ife_info *)a)
struct tcf_meta_info {
const struct tcf_meta_ops *ops;
OpenPOWER on IntegriCloud