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