diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 6d00c3de1a83..bf81cd45e4d4 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -2776,7 +2776,7 @@ static u32 bond_glean_dev_ip(struct net_device *dev) | |||
2776 | return 0; | 2776 | return 0; |
2777 | 2777 | ||
2778 | rcu_read_lock(); | 2778 | rcu_read_lock(); |
2779 | idev = __in_dev_get(dev); | 2779 | idev = __in_dev_get_rcu(dev); |
2780 | if (!idev) | 2780 | if (!idev) |
2781 | goto out; | 2781 | goto out; |
2782 | 2782 | ||