Explorar o código

[IPV6]: Fixup ip6_del_rt() call for new args.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller %!s(int64=19) %!d(string=hai) anos
pai
achega
72d3b2c970
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/ipv6/anycast.c

+ 1 - 1
net/ipv6/anycast.c

@@ -378,7 +378,7 @@ int __ipv6_dev_ac_dec(struct inet6_dev *idev, struct in6_addr *addr)
 	addrconf_leave_solict(idev, &aca->aca_addr);
 
 	dst_hold(&aca->aca_rt->u.dst);
-	if (ip6_del_rt(aca->aca_rt, NULL, NULL, NULL))
+	if (ip6_del_rt(aca->aca_rt))
 		dst_free(&aca->aca_rt->u.dst);
 	else
 		dst_release(&aca->aca_rt->u.dst);