summaryrefslogtreecommitdiffstats
path: root/include/net/act_api.h
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2016-08-14 07:34:58 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-18 01:27:51 +0200
commit0c23c3e705691cfb99c94f2760df2b456fe45194 (patch)
treef1e5d55ceeec2c82bda922b2b66ff64d32ea3111 /include/net/act_api.h
parentnet_sched: remove an unnecessary list_del() (diff)
downloadlinux-0c23c3e705691cfb99c94f2760df2b456fe45194.tar.xz
linux-0c23c3e705691cfb99c94f2760df2b456fe45194.zip
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>
Diffstat (limited to 'include/net/act_api.h')
-rw-r--r--include/net/act_api.h2
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);
(list_empty(&(_exts)->actions))
#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) \
(list_is_singular(&(_exts)->actions))