summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorXi Wang <wangxi11@huawei.com>2018-08-14 17:13:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-15 09:46:49 +0200
commit534dde34bb7dfe47e030a0a1cb0e2d17c0c4bac3 (patch)
treee25ae3be5468b3c78276f4ebdfdeb97ee5026ed6 /block
parentfaba3f032e96a390057db5b3b362a73734b85f32 (diff)
net: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero
[ Upstream commit 6c39d5278e62956238a681e4cfc69fae5507fc57 ] According to the functional specification of hardware, the first descriptor of response from command 'lookup vlan talbe' is not valid. Currently, the first descriptor is parsed as normal value, which will cause an expected error. This patch fixes this problem by skipping the first descriptor. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Xi Wang <wangxi11@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions