net: caif: Add a missing rcu_read_unlock() in caif_flow_cb
commiteca9953f31a7365767c17a4018c058951d2b056f
authorYueHaibing <yuehaibing@huawei.com>
Thu, 19 Jul 2018 02:27:13 +0000 (19 10:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:20:00 +0000 (5 09:20 +0200)
treeb9ed1154e92dbab801ce177125cb4d9d373d42b6
parent354d5a345b910fc0d4b74f0f7bec1bc6e7b6ea42
net: caif: Add a missing rcu_read_unlock() in caif_flow_cb

[ Upstream commit 64119e05f7b31e83e2555f6782e6cdc8f81c63f4 ]

Add a missing rcu_read_unlock in the error path

Fixes: c95567c80352 ("caif: added check for potential null return")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/caif/caif_dev.c