projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'microblaze-v5.20' of git://git.monstr.eu/linux-2.6-microblaze
[linux-2.6-microblaze.git]
/
net
/
rose
/
rose_route.c
diff --git
a/net/rose/rose_route.c
b/net/rose/rose_route.c
index
eb0b819
..
fee772b
100644
(file)
--- a/
net/rose/rose_route.c
+++ b/
net/rose/rose_route.c
@@
-615,6
+615,8
@@
struct net_device *rose_dev_first(void)
if (first == NULL || strncmp(dev->name, first->name, 3) < 0)
first = dev;
}
+ if (first)
+ dev_hold(first);
rcu_read_unlock();
return first;