From: WANG Cong Date: Tue, 7 Oct 2014 00:21:54 +0000 (-0700) Subject: net_sched: copy exts->type in tcf_exts_change() X-Git-Tag: fixes-against-v3.18-rc2~144^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5301e3e117d88ef0967ce278912e54757f1a31a2;p=pandora-kernel.git net_sched: copy exts->type in tcf_exts_change() We need to copy exts->type when committing the change, otherwise it would be always 0. This is a quick fix for -net and -stable, for net-next tcf_exts will be removed. Fixes: commit 33be627159913b094bb578e83 ("net_sched: act: use standard struct list_head") Reported-by: Jamal Hadi Salim Cc: Jamal Hadi Salim Cc: John Fastabend Signed-off-by: Cong Wang Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- Reading git-diff-tree failed