diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-10-03 13:53:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-03 10:26:58 -0700 |
commit | b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d (patch) | |
tree | 5715556cda939e6cde16c3888a8d6177920a411f /net/openvswitch | |
parent | b508e0b6e47c85a095ef056f3de6ba9d396c490c (diff) | |
download | kernel_replicant_linux-b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d.tar.gz kernel_replicant_linux-b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d.tar.bz2 kernel_replicant_linux-b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d.zip |
mlxsw: spectrum: Add missing error code on allocation failure
We accidentally return success if the kmalloc_array() call fails.
Fixes: 0e14c7777acb ("mlxsw: spectrum: Add the multicast routing hardware logic")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions