]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commit79504d708d8be4131fbb115912521739c11db750
treeb7576f012db5aed981446a3178d7416db14722a5
parent260762c7d8030055a157b6f4ea7d1805a09e59e8
bnx2x: correct LPI pass-through configuration

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c