aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r--net/ipv4/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index 247ec1951c35..bf574029a183 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -1234,7 +1234,7 @@ out:
1234static int arp_netdev_event(struct notifier_block *this, unsigned long event, 1234static int arp_netdev_event(struct notifier_block *this, unsigned long event,
1235 void *ptr) 1235 void *ptr)
1236{ 1236{
1237 struct net_device *dev = ptr; 1237 struct net_device *dev = netdev_notifier_info_to_dev(ptr);
1238 1238
1239 switch (event) { 1239 switch (event) {
1240 case NETDEV_CHANGEADDR: 1240 case NETDEV_CHANGEADDR: