projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7adc4
)
RDMA/addr: Fix return of uninitialized ret value
author
Sean Hefty
<sean.hefty@intel.com>
Thu, 17 Mar 2011 23:35:39 +0000
(23:35 +0000)
committer
Roland Dreier
<roland@purestorage.com>
Fri, 18 Mar 2011 00:00:19 +0000
(17:00 -0700)
Commit
b23dd4fe42b4
("ipv4: Make output route lookup return rtable
directly") resulted in leaving ret uninitialized, where it may later
be returned.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/addr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/core/addr.c
b/drivers/infiniband/core/addr.c
index e0ef5fdc361e6e02ffa1da2cd39f428244547a40..4ffc224faa7fa1961b30d282195379c8dc78501f 100644
(file)
--- 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,
/* If the device does ARP internally, return 'done' */
if (rt->dst.dev->flags & IFF_NOARP) {
- rdma_copy_addr(addr, rt->dst.dev, NULL);
+ r
et = r
dma_copy_addr(addr, rt->dst.dev, NULL);
goto put;
}