diff options
Diffstat (limited to 'net/core/fib_rules.c')
-rw-r--r-- | net/core/fib_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 42ccaf5b850..942be93a2eb 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c | |||
@@ -618,7 +618,7 @@ static int fib_rules_event(struct notifier_block *this, unsigned long event, | |||
618 | void *ptr) | 618 | void *ptr) |
619 | { | 619 | { |
620 | struct net_device *dev = ptr; | 620 | struct net_device *dev = ptr; |
621 | struct net *net = dev->nd_net; | 621 | struct net *net = dev_net(dev); |
622 | struct fib_rules_ops *ops; | 622 | struct fib_rules_ops *ops; |
623 | 623 | ||
624 | ASSERT_RTNL(); | 624 | ASSERT_RTNL(); |