diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-11-20 11:04:12 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-08 12:14:43 -0500 |
commit | d3632493c70b6a866a77264cd8cfdeb89958b906 (patch) | |
tree | 5413e996b53a1a1aeaf98440b5ab672a4260084f /include/linux/of_irq.h | |
parent | 8f5ba10ed40a9d3ffe84854984227d011a7428bd (diff) | |
download | lwn-d3632493c70b6a866a77264cd8cfdeb89958b906.tar.gz lwn-d3632493c70b6a866a77264cd8cfdeb89958b906.zip |
IB/cma: Add a missing rcu_read_unlock()
Ensure that validate_ipv4_net_dev() calls rcu_read_unlock() if
fib_lookup() fails. Detected by sparse. Compile-tested only.
Fixes: "IB/cma: Validate routing of incoming requests" (commit f887f2ac87c2).
Cc: Haggai Eran <haggaie@mellanox.com>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/of_irq.h')
0 files changed, 0 insertions, 0 deletions