commit | a4e65d36a959005f14142535b58c44cd0f1de8cb | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Fri Dec 07 23:55:43 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Dec 11 02:45:25 2007 -0800 |
tree | 8f6e438dfb7e869387538bd4205c01ba05f665f1 | |
parent | 1df2e44560c0d72f381126e52a3ba53614c1c484 [diff] |
[IPV4]: Swap the ifa allocation with the"ipv4_devconf_setall" call 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> Signed-off-by: David S. Miller <davem@davemloft.net>