From: Steve French Date: Tue, 23 Sep 2008 18:46:07 +0000 (+0000) Subject: [CIFS] clean up upcall handling for dns_resolver keys X-Git-Tag: v2.6.28-rc1~718^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d81523480c8c5b07a4899a084b3f4264a575184;p=pandora-kernel.git [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 Acked-by: David Howells Signed-off-by: Steve French --- Reading git-diff-tree failed