• J
    neigh: restore old behaviour of default parms values · 1d4c8c29
    Jiri Pirko 提交于
    Previously inet devices were only constructed when addresses are added.
    Therefore the default neigh parms values they get are the ones at the
    time of these operations.
    
    Now that we're creating inet devices earlier, this changes the behaviour
    of default neigh parms values in an incompatible way (see bug #8519).
    
    This patch creates a compromise by setting the default values at the
    same point as before but only for those that have not been explicitly
    set by the user since the inet device's creation.
    
    Introduced by:
    commit 8030f544
    Author: Herbert Xu <herbert@gondor.apana.org.au>
    Date:   Thu Feb 22 01:53:47 2007 +0900
    
        [IPV4] devinet: Register inetdev earlier.
    Signed-off-by: NJiri Pirko <jiri@resnulli.us>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    1d4c8c29
devinet.c 56.6 KB