701-iegbe_poll_dev.patch 392 B

1234567891011
  1. --- a/Embedded/src/GbE/iegbe_main.c
  2. +++ b/Embedded/src/GbE/iegbe_main.c
  3. @@ -3534,7 +3534,7 @@ static int iegbe_clean(struct napi_struc
  4. int tx_cleaned = 0, work_done = 0;
  5. /* Must NOT use netdev_priv macro here. */
  6. - adapter = poll_dev->priv;
  7. + adapter = netdev_priv(poll_dev);
  8. /* iegbe_clean is called per-cpu. This lock protects
  9. * tx_ring[0] from being cleaned by multiple cpus