]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ibmvnic: complete init_done on transport events
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>
Fri, 25 Feb 2022 06:23:54 +0000 (22:23 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Wed, 9 Mar 2022 14:17:56 +0000 (15:17 +0100)
commit42d36f09b4094cca7b14bad57aa4ef5eabd3bbe3
tree8eafa95598dfe076f89e8825c4d7a0db8c1e2457
parent35a1c06a18d10c62a3ed39ca8ee0a714e91a9a40
ibmvnic: complete init_done on transport events

BugLink: https://bugs.launchpad.net/bugs/1964361
[ Upstream commit 36491f2df9ad2501e5a4ec25d3d95d72bafd2781 ]

If we get a transport event, set the error and mark the init as
complete so the attempt to send crq-init or login fail sooner
rather than wait for the timeout.

Fixes: bbd669a868bb ("ibmvnic: Fix completion structure initialization")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/ibm/ibmvnic.c