diff options
author | David Ward <david.ward@ll.mit.edu> | 2015-07-26 12:18:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-28 23:38:13 -0700 |
commit | 865b804244f228e80fb62abe464296399253cce8 (patch) | |
tree | 36c6b26af69a5ac1e5cb788eb13e1604fc533c6e /net/rfkill | |
parent | 76b91c32dd86f624b5df038dcb68cddd5a18d355 (diff) |
net/ipv4: suppress NETDEV_UP notification on address lifetime update
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: David Ward <david.ward@ll.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions