diff options
author | Steve French <sfrench@us.ibm.com> | 2008-09-23 18:46:07 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-09-23 18:46:07 +0000 |
commit | 9d81523480c8c5b07a4899a084b3f4264a575184 (patch) | |
tree | a404c0a8c6f88dfef828f0b3be9177097860bde5 /drivers | |
parent | ee2fd967fb23c5eecabc8a660ec66fcd79acbd47 (diff) | |
download | op-kernel-dev-9d81523480c8c5b07a4899a084b3f4264a575184.zip op-kernel-dev-9d81523480c8c5b07a4899a084b3f4264a575184.tar.gz |
[CIFS] clean up upcall handling for dns_resolver keys
We're given the datalen in the downcall, so there's no need to do any
calls to strlen(). Just keep track of the datalen in the key. Finally,
add a sanity check of the data in the downcall to make sure that it
looks like a real IP address.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions