commit | e848582cee23f7ab540ec49ab1c7d7f8bfefcd84 | [log] [tgz] |
---|---|---|
author | Dmitry Kravkov <dmitry@broadcom.com> | Sun Jan 05 18:33:50 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 05 20:22:24 2014 -0500 |
tree | 5dc25ca78477bb73ff58c6a07b13ad1a9e016622 | |
parent | a02bdd423d844f5beb3196922f07c85c2f7691b8 [diff] |
bnx2x: limit number of interrupt vectors for 57711 Original straightforward division may lead to zeroing number of SB and null-pointer dereference when device is short of MSIX vectors or lacks MSIX capabilities. Reported-by: Vladislav Zolotarov <vladz@cloudius-systems.com> Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>