]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: loopback device: ignore value changes after device is upped
authorJiri Pirko <jiri@resnulli.us>
Tue, 7 Jan 2014 14:55:45 +0000 (15:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2014 20:55:17 +0000 (15:55 -0500)
commita2443e07e59d2d804031fdea0bf614d0f2ac774c
tree4047480cb28bde2699345808c5e38e488886cb95
parentf16aa159c8066f8eda14d429f69b662e02a3d495
ipv4: loopback device: ignore value changes after device is upped

When lo is brought up, new ifa is created. Then, devconf and neigh values
bitfield should be set so later changes of default values would not
affect lo values.

Note that the same behaviour is in ipv6. Also note that this is likely
not an issue in many distros (for example Fedora 19) because userspace
sets address to lo manually before bringing it up.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c