summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-07-27 15:44:54 +0200
committerDavid S. Miller <davem@davemloft.net>2021-07-27 21:11:43 +0200
commit232ec98ec35d72352efb2f52d1b0628f425dbf86 (patch)
tree820b2584f73db08f37163281b4f6c5db4951ec3c /block
parenttulip: use ndo_siocdevprivate (diff)
downloadlinux-232ec98ec35d72352efb2f52d1b0628f425dbf86.tar.xz
linux-232ec98ec35d72352efb2f52d1b0628f425dbf86.zip
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 'block')
0 files changed, 0 insertions, 0 deletions