svcrpc: don't bother checking bad svc_addr_len result
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Aug 2012 21:22:11 +0000 (17:22 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Aug 2012 21:40:10 +0000 (17:40 -0400)
commitaf6d572134b012ca92c4efc8a2f1cadbe5d01064
tree057465a1a9cdb39664d6660e172f7c81f762d850
parentf23abfdb94fda3108441530cb4a813088d3f9176
svcrpc: don't bother checking bad svc_addr_len result

None of the callers should see an unsupported address family (only one
of them even bothers to check for that case), so just check for the
buggy case in svc_addr_len and don't bother elsewhere.

Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svcsock.c