addrconf.c (2b9651d72d3fc1a9053ae1a323f8407e1f63b436) | addrconf.c (77ecaace6c5487eae8ede633ad51478511a8e125) |
---|---|
1/* 2 * IPv6 Address [auto]configuration 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> 8 * --- 4347 unchanged lines hidden (view full) --- 4356 * of this. Otherwise, we need to request our rs here. 4357 */ 4358 ndisc_send_rs(dev, &ll_addr, &in6addr_linklocal_allrouters); 4359 update_rs = true; 4360 } 4361 4362 write_lock_bh(&idev->lock); 4363 | 1/* 2 * IPv6 Address [auto]configuration 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> 8 * --- 4347 unchanged lines hidden (view full) --- 4356 * of this. Otherwise, we need to request our rs here. 4357 */ 4358 ndisc_send_rs(dev, &ll_addr, &in6addr_linklocal_allrouters); 4359 update_rs = true; 4360 } 4361 4362 write_lock_bh(&idev->lock); 4363 |
4364 if (update_rs) | 4364 if (update_rs) { |
4365 idev->if_flags |= IF_RS_SENT; | 4365 idev->if_flags |= IF_RS_SENT; |
4366 idev->rs_probes = 1; 4367 addrconf_mod_rs_timer(idev, idev->cnf.rtr_solicit_interval); 4368 } |
|
4366 4367 /* Well, that's kinda nasty ... */ 4368 list_for_each_entry(ifp, &idev->addr_list, if_list) { 4369 spin_lock(&ifp->lock); 4370 if (ifp->tokenized) { 4371 ifp->valid_lft = 0; 4372 ifp->prefered_lft = 0; 4373 } --- 852 unchanged lines hidden --- | 4369 4370 /* Well, that's kinda nasty ... */ 4371 list_for_each_entry(ifp, &idev->addr_list, if_list) { 4372 spin_lock(&ifp->lock); 4373 if (ifp->tokenized) { 4374 ifp->valid_lft = 0; 4375 ifp->prefered_lft = 0; 4376 } --- 852 unchanged lines hidden --- |