commit | 20f70ddd6558a39a89dba4af675686c5a8dbd7b3 | [log] [tgz] |
---|---|---|
author | Jonas Bonn <jonas@southpole.se> | Thu Nov 25 02:30:28 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 28 11:16:36 2010 -0800 |
tree | 759bde727810d041ac7cab116eccaedf52cd7490 | |
parent | 7438a5455734d109fdf18d97147dc57a6dbe5a44 [diff] |
ethoc: Double check pending RX packet An interrupt may occur between checking bd.stat and clearing the interrupt source register which would result in the packet going totally unnoticed as the interrupt will be missed. Double check bd.stat after clearing the interrupt source register to guard against such an occurrence. Signed-off-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: David S. Miller <davem@davemloft.net>