net: caif: Add a missing rcu_read_unlock() in caif_flow_cb
commit64119e05f7b31e83e2555f6782e6cdc8f81c63f4
authorYueHaibing <yuehaibing@huawei.com>
Thu, 19 Jul 2018 02:27:13 +0000 (19 10:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 23:14:39 +0000 (21 16:14 -0700)
tree87d44bf9e7cecbc6fa4cbb7e6d45f8ec32b62b4a
parentc1f897ce186a529a494441642125479d38727a3d
net: caif: Add a missing rcu_read_unlock() in caif_flow_cb

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>
net/caif/caif_dev.c