diff options
author | Jonas Bonn <jonas@southpole.se> | 2010-11-25 02:30:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 11:16:36 -0800 |
commit | 20f70ddd6558a39a89dba4af675686c5a8dbd7b3 (patch) | |
tree | 759bde727810d041ac7cab116eccaedf52cd7490 /usr | |
parent | 7438a5455734d109fdf18d97147dc57a6dbe5a44 (diff) | |
download | linux-20f70ddd6558a39a89dba4af675686c5a8dbd7b3.tar.gz linux-20f70ddd6558a39a89dba4af675686c5a8dbd7b3.tar.bz2 linux-20f70ddd6558a39a89dba4af675686c5a8dbd7b3.zip |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions