aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/anycast.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-12-06 16:48:14 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-06 16:48:14 -0500
commit8f0315190dec88bf035d50e4fd1db89859b414f6 (patch)
treeebc3d6669124188439da105da919e46ce8ea0619 /net/ipv6/anycast.c
parentbnx2x: Fix compile errors if CONFIG_CNIC is not set (diff)
downloadlinux-dev-8f0315190dec88bf035d50e4fd1db89859b414f6.tar.xz
linux-dev-8f0315190dec88bf035d50e4fd1db89859b414f6.zip
ipv6: Make third arg to anycast_dst_alloc() bool.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/anycast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c
index fc1cdcd7041a..cc540f9ad130 100644
--- a/net/ipv6/anycast.c
+++ b/net/ipv6/anycast.c
@@ -289,7 +289,7 @@ int ipv6_dev_ac_inc(struct net_device *dev, const struct in6_addr *addr)
goto out;
}
- rt = addrconf_dst_alloc(idev, addr, 1);
+ rt = addrconf_dst_alloc(idev, addr, true);
if (IS_ERR(rt)) {
kfree(aca);
err = PTR_ERR(rt);