diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index fc2dc933bee..5bdce97b817 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -5286,7 +5286,7 @@ void netdev_run_todo(void) | |||
5286 | 5286 | ||
5287 | /* paranoia */ | 5287 | /* paranoia */ |
5288 | BUG_ON(atomic_read(&dev->refcnt)); | 5288 | BUG_ON(atomic_read(&dev->refcnt)); |
5289 | WARN_ON(dev->ip_ptr); | 5289 | WARN_ON(rcu_dereference_raw(dev->ip_ptr)); |
5290 | WARN_ON(dev->ip6_ptr); | 5290 | WARN_ON(dev->ip6_ptr); |
5291 | WARN_ON(dev->dn_ptr); | 5291 | WARN_ON(dev->dn_ptr); |
5292 | 5292 | ||