aboutsummaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorJohn Fastabend2018-03-18 12:57:05 -0700
committerDaniel Borkmann2018-03-19 21:14:38 +0100
commit8c05dbf04b2882c3c0bc43fe7668c720210877f3 (patch)
treeb13d4d3116498ab38c1493cdeb21254313c2f94d /mm/vmscan.c
parent312fc2b4c82e96a48cb2d0da2bd4816eb253c499 (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