net: Convert skb_frag_t to bio_vec

There are a lot of users of frag->page_offset, so use a union
to avoid converting those users today.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Matthew Wilcox (Oracle)
2019-07-22 20:08:31 -07:00
committed by David S. Miller
parent b8b576a16f
commit 8842d285ba
2 changed files with 6 additions and 8 deletions

View File

@@ -18,7 +18,10 @@
struct bio_vec {
struct page *bv_page;
unsigned int bv_len;
unsigned int bv_offset;
union {
__u32 page_offset;
unsigned int bv_offset;
};
};
struct bvec_iter {