From: Dan Carpenter Date: Thu, 15 Aug 2013 12:52:57 +0000 (+0300) Subject: tun: signedness bug in tun_get_user() X-Git-Tag: v3.2.52~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60be6501b85ef304de4c77979ca89981fd268841;p=pandora-kernel.git tun: signedness bug in tun_get_user() [ Upstream commit 15718ea0d844e4816dbd95d57a8a0e3e264ba90e ] The recent fix d9bf5f1309 "tun: compare with 0 instead of total_len" is not totally correct. Because "len" and "sizeof()" are size_t type, that means they are never less than zero. Signed-off-by: Dan Carpenter Acked-by: Michael S. Tsirkin Acked-by: Neil Horman Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed