From: WANG Cong Date: Thu, 25 Sep 2014 19:06:04 +0000 (-0700) Subject: net_sched: fix errno in tcindex_set_parms() X-Git-Tag: fixes-against-v3.18-rc2~144^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02c5e84413dae4aa650536097d4195a356217d3d;p=pandora-kernel.git net_sched: fix errno in tcindex_set_parms() When kmemdup() fails, we should return -ENOMEM. Cc: John Fastabend Signed-off-by: Cong Wang Acked-by: John Fastabend Signed-off-by: David S. Miller --- Reading git-diff-tree failed