aboutsummaryrefslogtreecommitdiffstats
path: root/net/appletalk/ddp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/appletalk/ddp.c')
-rw-r--r--net/appletalk/ddp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index 934f25993ce8..137341b4d833 100644
--- a/net/appletalk/ddp.c
+++ b/net/appletalk/ddp.c
@@ -1275,7 +1275,7 @@ static int handle_ip_over_ddp(struct sk_buff *skb)
1275 skb->protocol = htons(ETH_P_IP); 1275 skb->protocol = htons(ETH_P_IP);
1276 skb_pull(skb, 13); 1276 skb_pull(skb, 13);
1277 skb->dev = dev; 1277 skb->dev = dev;
1278 skb->h.raw = skb->data; 1278 skb_reset_transport_header(skb);
1279 1279
1280 stats = dev->priv; 1280 stats = dev->priv;
1281 stats->rx_packets++; 1281 stats->rx_packets++;
@@ -1522,7 +1522,7 @@ static int ltalk_rcv(struct sk_buff *skb, struct net_device *dev,
1522 /* Non routable, so force a drop if we slip up later */ 1522 /* Non routable, so force a drop if we slip up later */
1523 ddp->deh_len_hops = htons(skb->len + (DDP_MAXHOPS << 10)); 1523 ddp->deh_len_hops = htons(skb->len + (DDP_MAXHOPS << 10));
1524 } 1524 }
1525 skb->h.raw = skb->data; 1525 skb_reset_transport_header(skb);
1526 1526
1527 return atalk_rcv(skb, dev, pt, orig_dev); 1527 return atalk_rcv(skb, dev, pt, orig_dev);
1528freeit: 1528freeit: