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.11-rc6~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15718ea0d844e4816dbd95d57a8a0e3e264ba90e;p=pandora-kernel.git tun: signedness bug in tun_get_user() 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 --- Reading git-diff-tree failed