]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - net/ipv6/addrconf.c
netfilter: add nf_ipv6_ops hook to fix xt_addrtype with IPv6
[mirror_ubuntu-jammy-kernel.git] / net / ipv6 / addrconf.c
index d1ab6ab29a55c11e0570bb9854c524d9f21369fc..d1b2d8034b54d085f24c2daf646d9c0210c90b74 100644 (file)
@@ -1487,7 +1487,7 @@ static int ipv6_count_addresses(struct inet6_dev *idev)
 }
 
 int ipv6_chk_addr(struct net *net, const struct in6_addr *addr,
-                 struct net_device *dev, int strict)
+                 const struct net_device *dev, int strict)
 {
        struct inet6_ifaddr *ifp;
        unsigned int hash = inet6_addr_hash(addr);