diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-07-27 15:44:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-27 20:11:43 +0100 |
commit | 232ec98ec35d72352efb2f52d1b0628f425dbf86 (patch) | |
tree | 820b2584f73db08f37163281b4f6c5db4951ec3c /kernel/power | |
parent | 029a4fef6b22b92d4f9b50ac0cdc48dfaff9af68 (diff) | |
download | linux-232ec98ec35d72352efb2f52d1b0628f425dbf86.tar.bz2 |
bonding: use siocdevprivate
The bonding driver supports two command codes for each operation: one
in the SIOCDEVPRIVATE range and another one with the same definition
but a unique command code.
Only the second set currently works in compat mode, as the ifr_data
expansion overwrites part of the ifr_slave field.
Move the private ones into ndo_siocdevprivate and change the
implementation to call the other function. This makes both version
work correctly.
Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions