bnx2x: correct LPI pass-through configuration
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 17 Jun 2012 02:04:50 +0000 (02:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jun 2012 23:16:51 +0000 (16:16 -0700)
Commit c8c60d88c59cbb48737732ba948663a3efe882aa contained
an incorrect logic which enabled a buffer overflow when accessing
an array during LPI pass-through configuration.
This patch fixes this issue by removing that logic altogether.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found