]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_en: Fix double pci unmapping.
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 3 Aug 2009 03:22:18 +0000 (20:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2009 03:22:18 +0000 (20:22 -0700)
commit0faf20da8a211d7aebdfd2435889cb8c288de8bc
tree456a5d1386cc8daf59377da886240048907c1949
parent67be65c468ab005bf089b67276e9d2fa630bff9f
mlx4_en: Fix double pci unmapping.

In cases of fragmented skb, with the data pointers being wrapped around
the TX buffer, the completion handling code would not forward the data
pointer and the firs fragment was unmapped several times, while others
were not unmapped at all.

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