Re: [PATCH][IPV4] Swap the ifa allocation with the"ipv4_devconf_setall" call

2007-12-08 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> 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_devcon

[PATCH][IPV4] Swap the ifa allocation with the"ipv4_devconf_setall" call

2007-12-07 Thread Pavel Emelyanov
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 (cleanl