]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usbb: catc: use correct API for MAC addresses
authorOliver Neukum <oneukum@suse.com>
Mon, 25 Oct 2021 14:11:21 +0000 (16:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 14:34:02 +0000 (15:34 +0100)
commit7ce9a701ac8f44798e46dede02b924504dc65a5c
tree0200e313d08b4f12c99c26c3cf53706f5f41d801
parent2b30da451062a8d30043f3aded7cb440896805e2
usbb: catc: use correct API for MAC addresses

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.

In the case of catc we need a new temporary buffer to conform
to the rules for DMA coherency. That in turn necessitates
a reworking of error handling in probe().

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/catc.c