Closed djwatson closed 8 years ago
tls_sendpage will never receive more than one page
I'm not sure wit this one. Have you tried splice() from a pipe to AF_KTLS socket with size > PAGE_SIZE? IIRC, I received size > PAGE_SIZE. I cannot check it now thought.
Yea I think this is actually wrong because of compound pages. There will never be more than one compound page, which works fine with skbs, but scatterlists don't work with compound pages.
Minor cleanup. tls_sendpage will never receive more than one page, verified by looking at other kernel sources. Remove the extra while loops.