]> 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)
commitfa3fea02f0debbcf9bb37a789315319625e1ee50
tree3982f0819c2ffe13b67e7546d185993095d8d88a
parent8480407e0dc53ad0b914ccfbf998c46821f85914
bnx2x: Fix to prevent inner-reload

Submit 28ea9719dd25c ("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