]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix to prevent inner-reload
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Mon, 4 May 2015 09:34:12 +0000 (12:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 19:54:46 +0000 (15:54 -0400)
commit962745e7d3a0d2ad53fcc123a2ae57c04b21af7e
tree3982f0819c2ffe13b67e7546d185993095d8d88a
parentb1b3eeff2362f4a87fcda09bfbba838fb3a3ea8d
bnx2x: Fix to prevent inner-reload

Submit 4802bba8e6ab7 ("bnx2x: Prevent inner-reload while VFs exist")
contained a bug - MTU change was not prevented by it; Instead, it
`randomally' prevented bnx2x_resume() from running [harmless yet wrong].

This moves the check to its correct spot.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c