Re: [PATCH rdma-next 1/3] ipoib: use dev_addr_mod()
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-10-21 09:51:11
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-10-21 09:51:11
On Tue, Oct 19, 2021 at 11:26:02AM -0700, Jakub Kicinski wrote:
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
CC: dledford@redhat.com
CC: jgg@ziepe.ca
CC: yuehaibing@huawei.com
CC: manjunath.b.patil@oracle.com
CC: leon@kernel.org
CC: mbloch@nvidia.com
CC: jinpu.wang@ionos.com
CC: mike.marciniszyn@cornelisnetworks.com
CC: liweihang@huawei.com
CC: linux-rdma@vger.kernel.org
---
drivers/infiniband/ulp/ipoib/ipoib_cm.c | 4 +++-
drivers/infiniband/ulp/ipoib/ipoib_ib.c | 9 ++++-----
drivers/infiniband/ulp/ipoib/ipoib_main.c | 17 +++++++++--------
3 files changed, 16 insertions(+), 14 deletions(-)Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>