lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Aug 2013 19:29:43 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	wpan@...hat.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net] tun: compare with 0 instead of total_len

From: Weiping Pan <wpan@...hat.com>
Date: Tue, 13 Aug 2013 21:46:56 +0800

> Since we set "len = total_len" in the beginning of tun_get_user(),
> so we should compare the new len with 0, instead of total_len,
> or the if statement always returns false.
> 
> Signed-off-by: Weiping Pan <wpan@...hat.com>

Definitely looks correct to me, applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ