diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2012-11-27 19:50:02 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-28 16:35:08 (GMT) |
commit | e49cc34f7ac30304ef0563d2517f6c5f86525220 (patch) | |
tree | 2be3b6844b70634bb1853fe6e247d8533c155464 /net/ipv6/sit.c | |
parent | f33e716ffd65949c5bf7cfbc4e8f7e63fb6e064b (diff) | |
download | linux-fsl-qoriq-e49cc34f7ac30304ef0563d2517f6c5f86525220.tar.xz |
be2net: fix INTx ISR for interrupt behaviour on BE2
On BE2 chip, an interrupt may be raised even when EQ is in un-armed state.
As a result be_intx()::events_get() and be_poll:events_get() can race and
notify an EQ wrongly.
Fix this by counting events only in be_poll(). Commit 0b545a629 fixes
the same issue in the MSI-x path.
But, on Lancer, INTx can be de-asserted only by notifying num evts. This
is not an issue as the above BE2 behavior doesn't exist/has never been
seen on Lancer.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions