]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - drivers/net/pcmcia/nmclan_cs.c
[SK_BUFF]: Convert skb->tail to sk_buff_data_t
[thirdparty/linux.git] / drivers / net / pcmcia / nmclan_cs.c
index ec0af65cd5d761ab960040d7acf72c446de2f1af..73da611fd536b18d93b5f44ecd90602892a98bc0 100644 (file)
@@ -1185,7 +1185,7 @@ static int mace_rx(struct net_device *dev, unsigned char RxCnt)
        skb_reserve(skb, 2);
        insw(ioaddr + AM2150_RCV, skb_put(skb, pkt_len), pkt_len>>1);
        if (pkt_len & 1)
-           *(skb->tail-1) = inb(ioaddr + AM2150_RCV);
+           *(skb_tail_pointer(skb) - 1) = inb(ioaddr + AM2150_RCV);
        skb->protocol = eth_type_trans(skb, dev);
        
        netif_rx(skb); /* Send the packet to the upper (protocol) layers. */