diff options
author | John Fastabend | 2018-03-18 12:57:05 -0700 |
---|---|---|
committer | Daniel Borkmann | 2018-03-19 21:14:38 +0100 |
commit | 8c05dbf04b2882c3c0bc43fe7668c720210877f3 (patch) | |
tree | b13d4d3116498ab38c1493cdeb21254313c2f94d /mm/vmscan.c | |
parent | 312fc2b4c82e96a48cb2d0da2bd4816eb253c499 (diff) |
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 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions