diff options
author | John Fastabend <john.fastabend@gmail.com> | 2018-03-18 20:57:05 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-19 21:14:38 +0100 |
commit | 8c05dbf04b2882c3c0bc43fe7668c720210877f3 (patch) | |
tree | b13d4d3116498ab38c1493cdeb21254313c2f94d /kernel | |
parent | net: do_tcp_sendpages flag to avoid SKBTX_SHARED_FRAG (diff) | |
download | linux-8c05dbf04b2882c3c0bc43fe7668c720210877f3.tar.xz linux-8c05dbf04b2882c3c0bc43fe7668c720210877f3.zip |
net: generalize sk_alloc_sg to work with scatterlist rings
The current implementation of sk_alloc_sg expects scatterlist to always
start at entry 0 and complete at entry MAX_SKB_FRAGS.
Future patches will want to support starting at arbitrary offset into
scatterlist so add an additional sg_start parameters and then default
to the current values in TLS code paths.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions