]> 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)
commitd1a6c9a27fbbb60fd0f45327dd786f8aa6d01d51
treefb0e1abc90a1e1bd09cab91a0781e4c60e4e1232
parent4529109c107e2dd546b1aec4b572204ee5a1db96
parentba924819aeb0b79a9980fadd9ec7ab849b25fa66
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>