diff options
Diffstat (limited to 'drivers/net/appletalk')
-rw-r--r-- | drivers/net/appletalk/ipddp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 9832b757f109..78cea5e80b1d 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -115,7 +115,7 @@ static struct net_device * __init ipddp_init(void) | |||
115 | */ | 115 | */ |
116 | static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev) | 116 | static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev) |
117 | { | 117 | { |
118 | __be32 paddr = ((struct rtable*)skb->dst)->rt_gateway; | 118 | __be32 paddr = skb_rtable(skb)->rt_gateway; |
119 | struct ddpehdr *ddp; | 119 | struct ddpehdr *ddp; |
120 | struct ipddp_route *rt; | 120 | struct ipddp_route *rt; |
121 | struct atalk_addr *our_addr; | 121 | struct atalk_addr *our_addr; |