]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ibmvnic-Fix-parameter-change-request-handling'
authorDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2018 01:51:54 +0000 (21:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2018 01:51:54 +0000 (21:51 -0400)
commitef2cbe517c6a7dd237e5c373bbe7ec94b2b2c61e
tree7b386553deb1996579ae0b69b301271eb31b3c81
parent70f0ff5b55d954b62034e5f5e1bb4deec2977f68
parente779e3b056175ea271ea129b58f2deb28e46087a
Merge branch 'ibmvnic-Fix-parameter-change-request-handling'

Nathan Fontenot says:

====================
ibmvnic: Fix parameter change request handling

When updating parameters for the ibmvnic driver there is a possibility
of entering an infinite loop if a return value other that a partial
success is received from sending the login CRQ.

Also, a deadlock can occur on the rtnl lock if netdev_notify_peers()
is called during driver reset for a parameter change reset.

This patch set corrects both of these issues by updating the return
code handling in ibmvnic_login() nand gaurding against calling
netdev_notify_peers() for parameter change requests.

Updates for V2: Correct spelling mistakes in commit messages.
====================

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