OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][IPV4] Swap the ifa allocation with the"ipv4_devconf_setall" call
Re: [PATCH][IPV4] Swap the ifa allocation with the"ipv4_devconf_setall" call [message #24717 is a reply to message #24654] Sat, 08 December 2007 07:55 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@openvz.org>
Date: Fri, 07 Dec 2007 12:22:57 +0300

> According to Herbert, the ipv4_devconf_setall should be called
> only when the ifa is added to the device. However, failed 
> ifa allocation may bring things into inconsistent state.
> 
> Move the call to ipv4_devconf_setall after the ifa allocation.
> 
> Fits both net-2.6 (with offsets) and net-2.6.25 (cleanly).
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied to net-2.6, thanks Pavel.
 
Read Message
Read Message
Previous Topic: [PATCH] pid: Extend/Fix pid_vnr
Next Topic: [PATCH net-2.6.25] Remove unused devconf macros
Goto Forum:
  


Current Time: Tue Aug 26 13:47:37 GMT 2025

Total time taken to generate the page: 0.16160 seconds