X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipx%2Fipx_route.c;h=e16c11423527df9832485de4479eb019d51d9c1b;hb=4adeaaf51ebcc3f629f5512b96aebb5089388bca;hp=8e1cad971f11bd473da17883ff41c1cda6f68550;hpb=a727fea99bf4b2addcd64c596735148117a7b37f;p=linux-2.6 diff --git a/net/ipx/ipx_route.c b/net/ipx/ipx_route.c index 8e1cad971f..e16c114235 100644 --- a/net/ipx/ipx_route.c +++ b/net/ipx/ipx_route.c @@ -203,7 +203,9 @@ int ipxrtr_route_packet(struct sock *sk, struct sockaddr_ipx *usipx, skb->sk = sk; /* Fill in IPX header */ - skb->h.raw = skb->nh.raw = skb_put(skb, sizeof(struct ipxhdr)); + skb_reset_network_header(skb); + skb_reset_transport_header(skb); + skb_put(skb, sizeof(struct ipxhdr)); ipx = ipx_hdr(skb); ipx->ipx_pktsize = htons(len + sizeof(struct ipxhdr)); IPX_SKB_CB(skb)->ipx_tctrl = 0;