]> git.baikalelectronics.ru Git - kernel.git/commit
mvpp2: remove module bugfix
authorSven Auhagen <sven.auhagen@voleatech.de>
Tue, 16 Jun 2020 04:35:29 +0000 (06:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jun 2020 20:41:16 +0000 (13:41 -0700)
commit135be9b606f5e1374fc7d0aad046fa5d5eb504af
tree1fb9b785a88c4e51a7603a50144b2dbd49220619
parent101d6816eb919062ee20e2a2422a91695551f2a6
mvpp2: remove module bugfix

The remove function does not destroy all
BM Pools when per cpu pool is active.

When reloading the mvpp2 as a module the BM Pools
are still active in hardware and due to the bug
have twice the size now old + new.

This eventually leads to a kernel crash.

v2:
* add Fixes tag

Fixes: 5ef835f9d253 ("mvpp2: percpu buffers")
Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c