]> git.baikalelectronics.ru Git - kernel.git/commit
myri10ge: fix potential infinite loop in enable_ecrc
authorBrice Goglin <brice@myri.com>
Fri, 9 May 2008 00:19:29 +0000 (02:19 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:30:29 +0000 (01:30 -0400)
commitc94d3485a1aa52333feba4538c4f080e942be2f5
treec75d964144f366486ade050f643ec0980203b25f
parent1283388ad0246c9c799540c7ac68e034d762de1f
myri10ge: fix potential infinite loop in enable_ecrc

Fix another potential for an infinite loop while looking for the
root port in myri10ge_enable_ecrc().

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/myri10ge/myri10ge.c