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-next>] [day] [month] [year] [list]
Date:	Tue, 1 Feb 2011 18:06:04 +0100 (CET)
From:	"Hans Schillstrom" <hans@...illstrom.com>
To:	"Simon Horman" <horms@...ge.net.au>
Cc:	netdev@...r.kernel.org, linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org, lvs-devel@...r.kernel.org,
	"Randy Dunlap" <randy.dunlap@...cle.com>,
	"Stephen Rothwell" <sfr@...b.auug.org.au>,
	"Patrick McHardy" <kaber@...sh.net>
Subject: Re: [PATCH 1/5] IPVS: use z modifier for sizeof() argument

>---- Original Message ----
>From: Simon Horman <horms@...ge.net.au>
>To: netdev@...r.kernel.org, linux-next@...r.kernel.org, linux-kernel@...r.kernel.org, lvs-devel@...r.kernel.org
>Cc: "Randy Dunlap" <randy.dunlap@...cle.com>, "Stephen Rothwell" <sfr@...b.auug.org.au>, "Hans Schillstrom" <hans@...illstrom.com>, "Patrick McHardy" <kaber@...sh.net>, "Simon Horman" <horms@...ge.net.au>
>Sent: Tue, Feb 1, 2011, 11:08 AM
>Subject: [PATCH 1/5] IPVS: use z modifier for sizeof() argument
>
>Cc: Hans Schillstrom <hans@...illstrom.com>
>Reported-by: Randy Dunlap <randy.dunlap@...cle.com>
>Signed-off-by: Simon Horman <horms@...ge.net.au>

Signed-off-by: Hans Schillstrom <hans@...illstrom.com>
Tested-by: Hans Schillstrom <hans@...illstrom.com>

>---
> net/netfilter/ipvs/ip_vs_core.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
>index d889f4f..4d06617 100644
>--- a/net/netfilter/ipvs/ip_vs_core.c
>+++ b/net/netfilter/ipvs/ip_vs_core.c
>@@ -1887,7 +1887,7 @@ static int __net_init __ip_vs_init(struct net *net)
> 	ipvs->gen = atomic_read(&ipvs_netns_cnt);
> 	atomic_inc(&ipvs_netns_cnt);
> 	net->ipvs = ipvs;
>-	printk(KERN_INFO "IPVS: Creating netns size=%lu id=%d\n",
>+	printk(KERN_INFO "IPVS: Creating netns size=%zu id=%d\n",
> 			 sizeof(struct netns_ipvs), ipvs->gen);
> 	return 0;
> }
>-- 
>1.7.2.3
>
>--
>To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
>the body of a message to majordomo@...r.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ