diff options
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c index e0ef5fdc361e..4ffc224faa7f 100644 --- a/drivers/infiniband/core/addr.c +++ b/drivers/infiniband/core/addr.c | |||
@@ -204,7 +204,7 @@ static int addr4_resolve(struct sockaddr_in *src_in, | |||
204 | 204 | ||
205 | /* If the device does ARP internally, return 'done' */ | 205 | /* If the device does ARP internally, return 'done' */ |
206 | if (rt->dst.dev->flags & IFF_NOARP) { | 206 | if (rt->dst.dev->flags & IFF_NOARP) { |
207 | rdma_copy_addr(addr, rt->dst.dev, NULL); | 207 | ret = rdma_copy_addr(addr, rt->dst.dev, NULL); |
208 | goto put; | 208 | goto put; |
209 | } | 209 | } |
210 | 210 | ||