mlx4_en: Fixed incorrect unmapping on RX flow.
commit69351a2933428515b31fe54100f90a669cbbd384
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 24 Aug 2010 03:45:05 +0000 (24 03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 21:54:47 +0000 (24 14:54 -0700)
tree432cb6f34764bf9f2b9470553ff1236c46a49775
parentc2e3143e3c46ede22336316b3ff4746727c0d93a
mlx4_en: Fixed incorrect unmapping on RX flow.

When allocating new fragments to replace the ones that would be passed to the stack,
The fragments that should be replaced, are the ones that were already used.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_rx.c