• David Ward's avatar
    net/ipv4: suppress NETDEV_UP notification on address lifetime update · 865b8042
    David Ward authored
    This notification causes the FIB to be updated, which is not needed
    because the address already exists, and more importantly it may undo
    intentional changes that were made to the FIB after the address was
    originally added. (As a point of comparison, when an address becomes
    deprecated because its preferred lifetime expired, a notification on
    this chain is not generated.)
    
    The motivation for this commit is fixing an incompatibility between
    DHCP clients which set and update the address lifetime according to
    the lease, and a commercial VPN client which replaces kernel routes
    in a way that outbound traffic is sent only through the tunnel (and
    disconnects if any further route changes are detected via netlink).
    Signed-off-by: default avatarDavid Ward <david.ward@ll.mit.edu>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    865b8042
devinet.c 59 KB