diff options
-rw-r--r-- | net/appletalk/ddp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index d1fea5c3dda1..876dbac71060 100644 --- 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) | |||
573 | 573 | ||
574 | /* Fill in the routing entry */ | 574 | /* Fill in the routing entry */ |
575 | rt->target = ta->sat_addr; | 575 | rt->target = ta->sat_addr; |
576 | dev_hold(devhint); | ||
576 | rt->dev = devhint; | 577 | rt->dev = devhint; |
577 | rt->flags = r->rt_flags; | 578 | rt->flags = r->rt_flags; |
578 | rt->gateway = ga->sat_addr; | 579 | rt->gateway = ga->sat_addr; |