Commit 0c23c3e7 authored by WANG Cong's avatar WANG Cong Committed by David S. Miller

net_sched: fix a typo in tc_for_each_action()

It is harmless because all users pass 'a' to this macro.

Fixes: 00175aec ("net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef")
Cc: Amir Vadai <amir@vadai.me>
Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 824a7e88
...@@ -193,7 +193,7 @@ int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int); ...@@ -193,7 +193,7 @@ int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
(list_empty(&(_exts)->actions)) (list_empty(&(_exts)->actions))
#define tc_for_each_action(_a, _exts) \ #define tc_for_each_action(_a, _exts) \
list_for_each_entry(a, &(_exts)->actions, list) list_for_each_entry(_a, &(_exts)->actions, list)
#define tc_single_action(_exts) \ #define tc_single_action(_exts) \
(list_is_singular(&(_exts)->actions)) (list_is_singular(&(_exts)->actions))
......
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