commit | c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Apr 19 22:44:17 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 19 22:44:17 2005 -0700 |
tree | 4d0116592a49e7887e33b778ba1b286758812a5f | |
parent | 88a66858253c57334a519a77187234867bc8605c [diff] |
[ATALK]: Add missing dev_hold() to atrtr_create(). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index d1fea5c..876dbac 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c
@@ -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;