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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
7e24b4ed5a
revīzija
d7840976e3
@@ -102,7 +102,7 @@ static noinline int build_vnic_ulp_payload(struct sdma_engine *sde,
|
||||
goto bail_txadd;
|
||||
|
||||
for (i = 0; i < skb_shinfo(tx->skb)->nr_frags; i++) {
|
||||
struct skb_frag_struct *frag = &skb_shinfo(tx->skb)->frags[i];
|
||||
skb_frag_t *frag = &skb_shinfo(tx->skb)->frags[i];
|
||||
|
||||
/* combine physically continuous fragments later? */
|
||||
ret = sdma_txadd_page(sde->dd,
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user