net: Use skb accessors in network drivers
In preparation for unifying the skb_frag and bio_vec, use the fine accessors which already exist and use skb_frag_t instead of struct skb_frag_struct. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
7e24b4ed5a
commit
d7840976e3
@@ -503,7 +503,7 @@ static int xlgmac_map_tx_skb(struct xlgmac_channel *channel,
|
||||
struct xlgmac_desc_data *desc_data;
|
||||
unsigned int offset, datalen, len;
|
||||
struct xlgmac_pkt_info *pkt_info;
|
||||
struct skb_frag_struct *frag;
|
||||
skb_frag_t *frag;
|
||||
unsigned int tso, vlan;
|
||||
dma_addr_t skb_dma;
|
||||
unsigned int i;
|
||||
|
Reference in New Issue
Block a user