]> git.neil.brown.name Git - linux.git/commitdiff
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)
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>

Trivial merge