Re: [PATCH] IB/cma: Add a missing rcu_read_unlock()

2015-11-23 Thread Jason Gunthorpe
On Fri, Nov 20, 2015 at 11:04:12AM -0800, Bart Van Assche wrote: > 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

Re: [PATCH] IB/cma: Add a missing rcu_read_unlock()

2015-11-22 Thread Haggai Eran
On 20/11/2015 21:04, Bart Van Assche wrote: > 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 >

[PATCH] IB/cma: Add a missing rcu_read_unlock()

2015-11-20 Thread Bart Van Assche
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 Cc: stable ---

Re: [PATCH] IB/cma: Add a missing rcu_read_unlock()

2015-11-20 Thread Sagi Grimberg
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 Cc: stable Looks good,