commit | 4232e8634ad82c5a53389e4016de15a8b15c09c3 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Oct 20 11:52:51 2010 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Oct 21 10:11:46 2010 -0400 |
tree | b834b51f3856ccfa23bf330e16ab480d3b3cbb7e | |
parent | a25e758c5fa1137e1bbc440194e55f7c59177145 [diff] |
SUNRPC: Use conventional switch statement when reclassifying sockets 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>