]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ibmvnic-LPM-bug-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:29:01 +0000 (14:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:29:01 +0000 (14:29 -0400)
commitae868a39f1ccb9a7f6c3ba10c54c26dc3d945e86
treefb0e1abc90a1e1bd09cab91a0781e4c60e4e1232
parent77a3e81261ec233fe6caaa904d94f75b271c3a27
parentbc5a2aecc2600b245a35ab65bb3788c1868a6feb
Merge branch 'ibmvnic-LPM-bug-fixes'

Thomas Falcon says:

====================
ibmvnic: LPM bug fixes

This series of small patches is meant to resolve a number of
bugs, mostly occurring during an ibmvnic driver reset when
recovering from a logical partition migration (LPM).

The first patch ensures that RX buffer pools are properly
activated following an adapter reset by setting the proper
flag in the pool data structure.

The second patch uses netif_tx_disable to stop TX queues when
closing the device during a reset.

Third, fixup a typo that resulted in partial sanitization of
TX/RX descriptor queues following a device reset.

Fourth, remove an ambiguous conditional check that was resulting
in a kernel panic as null RX/TX completion descriptors were being
processed during napi polling while the device is closing.

Finally, fix a condition where the napi polling routine exits
before it has completed its work budget without notifying the
upper network layers. This omission could result in the
napi_disable function sleeping indefinitely under certain conditions.

v2: Attempt to provide a proper cover letter
====================

Signed-off-by: David S. Miller <davem@davemloft.net>