bnx2x: Clean the sp rtnl task upon unload
authorDmitry Kravkov <dmitry@broadcom.com>
Sun, 17 Nov 2013 06:59:26 +0000 (08:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Nov 2013 20:45:44 +0000 (15:45 -0500)
commita0d307b21025106157709521d5b88831530e2112
tree4c1c3293aefda4b5d2e6b58be4591980edd49cb4
parenteca42aaf898c31db1fd04850fb4dc584c9184c49
bnx2x: Clean the sp rtnl task upon unload

While unloading, bnx2x needs to clean the sp_rtnl_state to prevent
configuration made before the unload to be applied afterwards with
stale values.

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