]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit095d370173e128bbf93d638d3951764102999c1f
tree7b386553deb1996579ae0b69b301271eb31b3c81
parent7dd07c143a4b54d050e748bee4b4b9e94a7b1744
parentebc701b796a67a5785399dcbc83d90e3b5f1e02f
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>