diff options
author | Eric Dumazet <edumazet@google.com> | 2013-12-20 12:32:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-20 17:06:27 -0500 |
commit | a792866ad2dafb8f272e4fdfb98a93fdbfff2277 (patch) | |
tree | 37e9f71f8bd584aebc8002dc581d0e28c61d361f /net/ipv4/tcp.c | |
parent | net_sched: fix a regression in tcf_proto_lookup_ops() (diff) | |
download | linux-dev-a792866ad2dafb8f272e4fdfb98a93fdbfff2277.tar.xz linux-dev-a792866ad2dafb8f272e4fdfb98a93fdbfff2277.zip |
net_sched: fix regression in tc_action_ops
list_for_each_entry(a, &act_base, head) doesn't
exit with a = NULL if we reached the end of the list.
tcf_unregister_action(), tc_lookup_action_n() and tc_lookup_action()
need fixes.
Remove tc_lookup_action_id() as its unused and not worth 'fixing'
Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 1f747c26c48b ("net_sched: convert tc_action_ops to use struct list_head")
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions