Searched hist:a4e65d36a959005f14142535b58c44cd0f1de8cb (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | devinet.c | diff a4e65d36a959005f14142535b58c44cd0f1de8cb Sat Dec 08 08:55:43 CET 2007 Pavel Emelyanov <xemul@openvz.org> [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>
|