diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-12-01 15:23:50 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-12-26 02:29:09 +0000 |
commit | 8ecaf67a8ea58c8f131ff045475c74e9538d6b7a (patch) | |
tree | 115e941e0c13e633b7cb5fb9c9307c4e108533ad /fs/cifs/md5.c | |
parent | 954d7a1cf12158fed23dd8b0f3f563d5a5c97f28 (diff) |
cifs: account for IPv6 in ses->serverName and clean up netbios name handling
The current code for setting the session serverName is IPv4-specific.
Allow it to be an IPv6 address as well. Use NIP* macros to set the
format.
This also entails increasing the length of the serverName field, so
declare a new macro for RFC1001 name length and use it in the
appropriate places.
Finally, drop the unicode_server_Name field from TCP_Server_Info since
it's not used. We can add it back later if needed, but for now it just
wastes memory.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/md5.c')
0 files changed, 0 insertions, 0 deletions