diff options
author | Eric Dumazet <edumazet@google.com> | 2013-12-20 19:04:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-20 23:06:27 +0100 |
commit | dcd76081340da2f262a8c8efade200cc7554a3b9 (patch) | |
tree | bc7529f7af81514dc4d4e8d5440719e87212e99c /net/sched/act_pedit.c | |
parent | net_sched: fix a regression in tc actions (diff) | |
download | linux-dcd76081340da2f262a8c8efade200cc7554a3b9.tar.xz linux-dcd76081340da2f262a8c8efade200cc7554a3b9.zip |
net_sched: fix a regression in tcf_proto_lookup_ops()
list_for_each_entry(t, &tcf_proto_base, head) doesn't
exit with t = NULL if we reached the end of the list.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 3627287463b4 ("net_sched: convert tcf_proto_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 'net/sched/act_pedit.c')
0 files changed, 0 insertions, 0 deletions