diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 8572cb05fc21..5c84c798331d 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -231,7 +231,8 @@ const struct in6_addr in6addr_linklocal_allrouters = IN6ADDR_LINKLOCAL_ALLROUTER | |||
231 | /* Check if a valid qdisc is available */ | 231 | /* Check if a valid qdisc is available */ |
232 | static inline int addrconf_qdisc_ok(struct net_device *dev) | 232 | static inline int addrconf_qdisc_ok(struct net_device *dev) |
233 | { | 233 | { |
234 | return (dev->qdisc != &noop_qdisc); | 234 | struct netdev_queue *txq = &dev->tx_queue; |
235 | return (txq->qdisc != &noop_qdisc); | ||
235 | } | 236 | } |
236 | 237 | ||
237 | /* Check if a route is valid prefix route */ | 238 | /* Check if a route is valid prefix route */ |