projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a6685
)
[ATALK]: Add missing dev_hold() to atrtr_create().
author
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 20 Apr 2005 05:44:17 +0000
(22:44 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 20 Apr 2005 05:44:17 +0000
(22:44 -0700)
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/appletalk/ddp.c
b/net/appletalk/ddp.c
index d1fea5c3dda1b08989e8acfed841129e229421b5..876dbac71060860956f2e939c81efe2b91512775 100644
(file)
--- a/
net/appletalk/ddp.c
+++ b/
net/appletalk/ddp.c
@@
-573,6
+573,7
@@
static int atrtr_create(struct rtentry *r, struct net_device *devhint)
/* Fill in the routing entry */
rt->target = ta->sat_addr;
+ dev_hold(devhint);
rt->dev = devhint;
rt->flags = r->rt_flags;
rt->gateway = ga->sat_addr;