SUNRPC: Use conventional switch statement when reclassifying sockets
authorChuck Lever <chuck.lever@oracle.com>
Wed, 20 Oct 2010 15:52:51 +0000 (11:52 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Oct 2010 14:11:46 +0000 (10:11 -0400)
Clean up.

Defensive coding: If "family" is ever something that is neither
AF_INET nor AF_INET6, xs_reclassify_socket6() is not the appropriate
default action.  Choose to do nothing in that case.

Introduced by commit 6bc9638a.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found