netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net 0/2] ibmvnic: Fix parameter change request handling
@ 2018-04-11 15:09 Nathan Fontenot
  2018-04-11 15:09 ` [PATCH v2 net 1/2] ibmvnic: Handle all login error conditions Nathan Fontenot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nathan Fontenot @ 2018-04-11 15:09 UTC (permalink / raw)
  To: netdev; +Cc: jallen, tlfalcon

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.

-Nathan

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

Nathan Fontenot (2):
      ibmvnic: Handle all login error conditions
      ibmvnic: Do not notify peers on parameter change resets


 drivers/net/ethernet/ibm/ibmvnic.c |   58 +++++++++++++++++++++++-------------
 drivers/net/ethernet/ibm/ibmvnic.h |    1 -
 2 files changed, 37 insertions(+), 22 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-13  1:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-11 15:09 [PATCH v2 net 0/2] ibmvnic: Fix parameter change request handling Nathan Fontenot
2018-04-11 15:09 ` [PATCH v2 net 1/2] ibmvnic: Handle all login error conditions Nathan Fontenot
2018-04-11 15:09 ` [PATCH v2 net 2/2] ibmvnic: Do not notify peers on parameter change resets Nathan Fontenot
2018-04-13  1:52 ` [PATCH v2 net 0/2] ibmvnic: Fix parameter change request handling David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).