]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: 3ad: pass parameter bond_params by reference
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Sep 2021 08:45:34 +0000 (09:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2021 09:28:50 +0000 (10:28 +0100)
commit297a378d84daf0a7651b9f396f2837e18bb89f5c
tree1110e4cfc3917ad0847fe77d79b1888c619f3566
parentfcd5fa429d057e4d121fa058d6f86e5d63f66804
bonding: 3ad: pass parameter bond_params by reference

The parameter bond_params is a relatively large 192 byte sized
struct so pass it by reference rather than by value to reduce
copying.

Addresses-Coverity: ("Big parameter passed by value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c