diff options
| author | Jonathan Lemon <[email protected]> | 2019-07-30 14:40:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-07-30 21:21:32 +0000 |
| commit | b54c9d5bd6e38edac9ce3a3f95f14a1292b5268d (patch) | |
| tree | b09848a92e53ce9533b4df27953ef59874080b53 /net/tls/tls_device_fallback.c | |
| parent | linux: Add skb_frag_t page_offset accessors (diff) | |
| download | kernel-b54c9d5bd6e38edac9ce3a3f95f14a1292b5268d.tar.gz kernel-b54c9d5bd6e38edac9ce3a3f95f14a1292b5268d.zip | |
net: Use skb_frag_off accessors
Use accessor functions for skb fragment's page_offset instead
of direct references, in preparation for bvec conversion.
Signed-off-by: Jonathan Lemon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_device_fallback.c')
| -rw-r--r-- | net/tls/tls_device_fallback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_device_fallback.c b/net/tls/tls_device_fallback.c index 9070d68a92a4..28895333701e 100644 --- a/net/tls/tls_device_fallback.c +++ b/net/tls/tls_device_fallback.c @@ -273,7 +273,7 @@ static int fill_sg_in(struct scatterlist *sg_in, __skb_frag_ref(frag); sg_set_page(sg_in + i, skb_frag_page(frag), - skb_frag_size(frag), frag->page_offset); + skb_frag_size(frag), skb_frag_off(frag)); remaining -= skb_frag_size(frag); |
