]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitbbef56d861f103058e387ad5354b4083b9892a7c
tree1110e4cfc3917ad0847fe77d79b1888c619f3566
parent1c990729e19891bd586f9f28a290db2867bdcb0a
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