]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In em_process_receive_interrupts() store and clear adapter->fmt. This
authorGleb Smirnoff <glebius@FreeBSD.org>
Thu, 29 Sep 2005 13:23:34 +0000 (13:23 +0000)
committerGleb Smirnoff <glebius@FreeBSD.org>
Thu, 29 Sep 2005 13:23:34 +0000 (13:23 +0000)
commit482b02b3f333a865bec4467f1683768db2d993b6
tree01af7a11eb0743a01196c97d97acb77144bbf423
parente6f7c17ebd0d5bc362442260882731762a0b94bf
In em_process_receive_interrupts() store and clear adapter->fmt. This
make function reenterable. In the runtime the race is masked by serializing
of em_process_receive_interrupts() either by interrupt thread, or by
polling. The race can be triggered when polling is switched on or off.
sys/dev/em/if_em.c