commit | 02c5e84413dae4aa650536097d4195a356217d3d | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Thu Sep 25 12:06:04 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 28 17:34:22 2014 -0400 |
tree | 3df61dd3d364ab1d982d01a0ea61d88d18568ac9 | |
parent | c01035f174a021737c30c8e71798c4f83dc6b8a9 [diff] |
net_sched: fix errno in tcindex_set_parms() When kmemdup() fails, we should return -ENOMEM. Cc: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>