tree 4d0116592a49e7887e33b778ba1b286758812a5f
parent 88a66858253c57334a519a77187234867bc8605c
author Herbert Xu <[EMAIL PROTECTED]> Wed, 20 Apr 2005 12:44:17 -0700
committer David S. Miller <[EMAIL PROTECTED]> Wed, 20 Apr 2005 12:44:17 -0700

[ATALK]: Add missing dev_hold() to atrtr_create().

Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 appletalk/ddp.c |    1 +
 1 files changed, 1 insertion(+)

Index: net/appletalk/ddp.c
===================================================================
--- 0ed43178152af4eff13943540aa7e4ec9f3658fb/net/appletalk/ddp.c  (mode:100644 
sha1:d1fea5c3dda1b08989e8acfed841129e229421b5)
+++ 4d0116592a49e7887e33b778ba1b286758812a5f/net/appletalk/ddp.c  (mode:100644 
sha1:876dbac71060860956f2e939c81efe2b91512775)
@@ -573,6 +573,7 @@
 
        /* 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;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to