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] [day] [month] [year] [list]
Message-Id: <20131205.205838.257217220906300904.davem@davemloft.net>
Date:	Thu, 05 Dec 2013 20:58:38 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	dingtianhong@...wei.com
Cc:	fubar@...ibm.com, andy@...yhouse.net, nikolay@...hat.com,
	vfalico@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] bonding: add arp_ip_target checks when install the
 module

From: Ding Tianhong <dingtianhong@...wei.com>
Date: Wed, 4 Dec 2013 18:59:31 +0800

> When I install the bonding with the wrong arp_ip_target,
> just like arp_ip_target=500.500.500.500, the arp_ip_target
> was transfored to 245.245.245.244 and stored in the ip
> target success, it is uncorrect, so I add checks to avoid
> adding wrong address.
> 
> The in4_pton() will set wrong ip address to 0.0.0.0 and
> return 0, also use the micro IS_IP_TARGET_UNUSABLE_ADDRESS
> to simplify the code.
> 
> Signed-off-by: Ding Tianhong <dingtianhong@...wei.com>

Applied, thank you.
--
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