You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
RDMA/addr: Fix return of uninitialized ret value
Commit b23dd4fe42 ("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>
This commit is contained in:
committed by
Roland Dreier
parent
7b7adc4a01
commit
1bdd6384c2
@@ -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);
|
||||
ret = rdma_copy_addr(addr, rt->dst.dev, NULL);
|
||||
goto put;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user