aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-07-27 13:44:54 +0000
committerDavid S. Miller <[email protected]>2021-07-27 19:11:43 +0000
commit232ec98ec35d72352efb2f52d1b0628f425dbf86 (patch)
tree820b2584f73db08f37163281b4f6c5db4951ec3c /drivers/net/ethernet/intel/igc/igc_main.c
parenttulip: use ndo_siocdevprivate (diff)
downloadkernel-232ec98ec35d72352efb2f52d1b0628f425dbf86.tar.gz
kernel-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 <[email protected]> Cc: Veaceslav Falico <[email protected]> Cc: Andy Gospodarek <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions