Skip to content

Commit

Permalink
net_sched: fix a typo in tc_for_each_action()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
congwang authored and davem330 committed Aug 17, 2016
1 parent 824a7e8 commit 0c23c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/act_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0c23c3e

Please sign in to comment.