diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-08-14 01:34:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-17 19:27:51 -0400 |
commit | 0c23c3e705691cfb99c94f2760df2b456fe45194 (patch) | |
tree | f1e5d55ceeec2c82bda922b2b66ff64d32ea3111 | |
parent | 824a7e8863b3eb283343f891b11a782b4ec0d0de (diff) |
net_sched: fix a typo in tc_for_each_action()
It is harmless because all users pass 'a' to this macro.
Fixes: 00175aec941e ("net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef")
Cc: Amir Vadai <amir@vadai.me>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/act_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index 41e6a24a44b9..f53ee9d315c1 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h | |||
@@ -193,7 +193,7 @@ int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int); | |||
193 | (list_empty(&(_exts)->actions)) | 193 | (list_empty(&(_exts)->actions)) |
194 | 194 | ||
195 | #define tc_for_each_action(_a, _exts) \ | 195 | #define tc_for_each_action(_a, _exts) \ |
196 | list_for_each_entry(a, &(_exts)->actions, list) | 196 | list_for_each_entry(_a, &(_exts)->actions, list) |
197 | 197 | ||
198 | #define tc_single_action(_exts) \ | 198 | #define tc_single_action(_exts) \ |
199 | (list_is_singular(&(_exts)->actions)) | 199 | (list_is_singular(&(_exts)->actions)) |