addrconf.c (7a876b0efcba3804da3051313445fa7be751cab7) addrconf.c (853dc2e03ddd0c49885ed55c48755d2b1073122a)
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 *

--- 1413 unchanged lines hidden (view full) ---

1422
1423 return err;
1424}
1425
1426void addrconf_dad_failure(struct inet6_ifaddr *ifp)
1427{
1428 struct inet6_dev *idev = ifp->idev;
1429
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 *

--- 1413 unchanged lines hidden (view full) ---

1422
1423 return err;
1424}
1425
1426void addrconf_dad_failure(struct inet6_ifaddr *ifp)
1427{
1428 struct inet6_dev *idev = ifp->idev;
1429
1430 if (addrconf_dad_end(ifp))
1430 if (addrconf_dad_end(ifp)) {
1431 in6_ifa_put(ifp);
1431 return;
1432 return;
1433 }
1432
1433 if (net_ratelimit())
1434 printk(KERN_INFO "%s: IPv6 duplicate address %pI6c detected!\n",
1435 ifp->idev->dev->name, &ifp->addr);
1436
1437 if (idev->cnf.accept_dad > 1 && !idev->cnf.disable_ipv6) {
1438 struct in6_addr addr;
1439

--- 3295 unchanged lines hidden ---
1434
1435 if (net_ratelimit())
1436 printk(KERN_INFO "%s: IPv6 duplicate address %pI6c detected!\n",
1437 ifp->idev->dev->name, &ifp->addr);
1438
1439 if (idev->cnf.accept_dad > 1 && !idev->cnf.disable_ipv6) {
1440 struct in6_addr addr;
1441

--- 3295 unchanged lines hidden ---