addrconf.c (ab11d1ea281e85895369ef57c5259ad8a432fabb) | addrconf.c (e5ed639913eea3e4783a550291775ab78dd84966) |
---|---|
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 * --- 1792 unchanged lines hidden (view full) --- 1801 spin_unlock_bh(&ifp->lock); 1802 ipv6_ifa_notify(RTM_NEWADDR, ifp); 1803 in6_ifa_put(ifp); 1804 } 1805 return; 1806 } 1807 1808 for (dev = dev_base; dev != NULL; dev = dev->next) { | 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 * --- 1792 unchanged lines hidden (view full) --- 1801 spin_unlock_bh(&ifp->lock); 1802 ipv6_ifa_notify(RTM_NEWADDR, ifp); 1803 in6_ifa_put(ifp); 1804 } 1805 return; 1806 } 1807 1808 for (dev = dev_base; dev != NULL; dev = dev->next) { |
1809 struct in_device * in_dev = __in_dev_get(dev); | 1809 struct in_device * in_dev = __in_dev_get_rtnl(dev); |
1810 if (in_dev && (dev->flags & IFF_UP)) { 1811 struct in_ifaddr * ifa; 1812 1813 int flag = scope; 1814 1815 for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { 1816 int plen; 1817 --- 1787 unchanged lines hidden --- | 1810 if (in_dev && (dev->flags & IFF_UP)) { 1811 struct in_ifaddr * ifa; 1812 1813 int flag = scope; 1814 1815 for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { 1816 int plen; 1817 --- 1787 unchanged lines hidden --- |