diff options
Diffstat (limited to 'net/core/dst.c')
-rw-r--r-- | net/core/dst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index df9cc810ec8e..ca4231ec7347 100644 --- a/net/core/dst.c +++ b/net/core/dst.c | |||
@@ -372,7 +372,7 @@ static void dst_ifdown(struct dst_entry *dst, struct net_device *dev, | |||
372 | static int dst_dev_event(struct notifier_block *this, unsigned long event, | 372 | static int dst_dev_event(struct notifier_block *this, unsigned long event, |
373 | void *ptr) | 373 | void *ptr) |
374 | { | 374 | { |
375 | struct net_device *dev = ptr; | 375 | struct net_device *dev = netdev_notifier_info_to_dev(ptr); |
376 | struct dst_entry *dst, *last = NULL; | 376 | struct dst_entry *dst, *last = NULL; |
377 | 377 | ||
378 | switch (event) { | 378 | switch (event) { |