]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Fix a bug with modifying mac address
authoroulijun <oulijun@huawei.com>
Wed, 7 Feb 2018 09:49:28 +0000 (17:49 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 14 Feb 2018 23:30:12 +0000 (16:30 -0700)
commit5eada82103d03a651dcf1c4c96848bf5122d8fe9
tree17bdfb276f8ef37aa2063735291d4ec9fb89121c
parent5ceebbb11e53a24f78acbb044dc13cb98d609cd6
RDMA/hns: Fix a bug with modifying mac address

When modifying mac address, it will trigger hns_roce_del_gid
function and can't delete the default gid matched the index
because the attribute of gid is null.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_main.c