[rds-devel] [PATCH] rds: send: Fix dead code in rds_sendmsg
David Miller
davem at davemloft.net
Wed Jul 25 22:38:21 PDT 2018
From: "Gustavo A. R. Silva" <gustavo at embeddedor.com>
Date: Wed, 25 Jul 2018 10:22:27 -0500
> Currently, code at label *out* is unreachable. Fix this by updating
> variable *ret* with -EINVAL, so the jump to *out* can be properly
> executed instead of directly returning from function.
>
> Addresses-Coverity-ID: 1472059 ("Structurally dead code")
> Fixes: 1e2b44e78eea ("rds: Enable RDS IPv6 support")
> Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
Applied.
More information about the rds-devel
mailing list