Re: [PATCH net] bonding: add arp_ip_target checks when install the module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ding Tianhong <dingtianhong@xxxxxxxxxx>
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@xxxxxxxxxx>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Discussion]     [TCP Instrumentation]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux WPAN Networking]     [Linux Host AP]     [Linux WPAN Networking]     [Linux Bluetooth Networking]     [Linux ATH6KL Networking]     [Linux Networking Users]     [Linux Coverity]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux IDE]     [Linux RAID]     [Linux SCSI]