diff options
Diffstat (limited to 'drivers/net/wan/syncppp.c')
-rw-r--r-- | drivers/net/wan/syncppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/syncppp.c b/drivers/net/wan/syncppp.c index 3731b22f6757..2d1bba06a085 100644 --- a/drivers/net/wan/syncppp.c +++ b/drivers/net/wan/syncppp.c | |||
@@ -767,7 +767,7 @@ static void sppp_cisco_input (struct sppp *sp, struct sk_buff *skb) | |||
767 | u32 addr = 0, mask = ~0; /* FIXME: is the mask correct? */ | 767 | u32 addr = 0, mask = ~0; /* FIXME: is the mask correct? */ |
768 | #ifdef CONFIG_INET | 768 | #ifdef CONFIG_INET |
769 | rcu_read_lock(); | 769 | rcu_read_lock(); |
770 | if ((in_dev = __in_dev_get(dev)) != NULL) | 770 | if ((in_dev = __in_dev_get_rcu(dev)) != NULL) |
771 | { | 771 | { |
772 | for (ifa=in_dev->ifa_list; ifa != NULL; | 772 | for (ifa=in_dev->ifa_list; ifa != NULL; |
773 | ifa=ifa->ifa_next) { | 773 | ifa=ifa->ifa_next) { |