]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/ipv6/netfilter/ip6t_MASQUERADE.c
net: always pass struct netdev_notifier_info to netdevice notifiers
[mirror_ubuntu-bionic-kernel.git] / net / ipv6 / netfilter / ip6t_MASQUERADE.c
index b76257cd7e1e6b9f8a99d9ece7c88b14e376f540..47bff610751922ebd80b21eb59387a334af9b3fb 100644 (file)
@@ -89,8 +89,10 @@ static int masq_inet_event(struct notifier_block *this,
                           unsigned long event, void *ptr)
 {
        struct inet6_ifaddr *ifa = ptr;
+       struct netdev_notifier_info info;
 
-       return masq_device_event(this, event, ifa->idev->dev);
+       netdev_notifier_info_init(&info, ifa->idev->dev);
+       return masq_device_event(this, event, &info);
 }
 
 static struct notifier_block masq_inet_notifier = {