]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mlx4_en: Restoring RX buffer pointer in case of failure
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Wed, 6 Apr 2011 23:25:45 +0000 (23:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2011 03:36:13 +0000 (20:36 -0700)
commit60b1809f7e2ea2620aa548e1c866066756bdd1d2
tree79ab74bbcd1bdb2232bb750a3236baee298d41bb
parentab6dc30da55d262c54ae12e47e4a2e4372e39fbf
mlx4_en: Restoring RX buffer pointer in case of failure

If not done, second attempt to open the RX ring would cause memory corruption.

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