[PATCH net-next] net: thunderx: initialize VF's mailbox mutex before first usage
David Miller
davem at davemloft.net
Wed Aug 5 20:51:03 EDT 2020
From: Dean Nelson <dnelson at redhat.com>
Date: Wed, 5 Aug 2020 13:18:48 -0500
> A VF's mailbox mutex is not getting initialized by nicvf_probe() until after
> it is first used. And such usage is resulting in...
...
> This problem is resolved by moving the call to mutex_init() up earlier
> in nicvf_probe().
>
> Fixes: 609ea65c65a0 ("net: thunderx: add mutex to protect mailbox from concurrent calls for same VF")
> Signed-off-by: Dean Nelson <dnelson at redhat.com>
Applied, thank you.
More information about the linux-arm-kernel
mailing list