Skip to content

Commit 0c23c3e

Browse files
congwangdavem330
authored andcommitted
net_sched: fix a typo in tc_for_each_action()
It is harmless because all users pass 'a' to this macro. Fixes: 00175ae ("net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef") Cc: Amir Vadai <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 824a7e8 commit 0c23c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/net/act_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
193193
(list_empty(&(_exts)->actions))
194194

195195
#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)
197197

198198
#define tc_single_action(_exts) \
199199
(list_is_singular(&(_exts)->actions))

0 commit comments

Comments
 (0)