From: Eric Dumazet Date: Fri, 20 Dec 2013 18:04:18 +0000 (-0800) Subject: net_sched: fix a regression in tcf_proto_lookup_ops() X-Git-Tag: v3.14-rc1~94^2~414 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd76081340da2f262a8c8efade200cc7554a3b9;p=pandora-kernel.git 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 Fixes: 3627287463b4 ("net_sched: convert tcf_proto_ops to use struct list_head") Cc: Cong Wang Reviewed-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed