Go to file
Yunsheng Lin b51f4113eb net: introduce and use skb_frag_fill_page_desc()
Most users use __skb_frag_set_page()/skb_frag_off_set()/
skb_frag_size_set() to fill the page desc for a skb frag.

Introduce skb_frag_fill_page_desc() to do that.

net/bpf/test_run.c does not call skb_frag_off_set() to
set the offset, "copy_from_user(page_address(page), ...)"
and 'shinfo' being part of the 'data' kzalloced in
bpf_test_init() suggest that it is assuming offset to be
initialized as zero, so call skb_frag_fill_page_desc()
with offset being zero for this case.

Also, skb_frag_set_page() is not used anymore, so remove
it.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-13 19:47:56 +01:00
Documentation net/handshake: Enable the SNI extension to work properly 2023-05-12 09:24:08 +01:00
LICENSES
arch s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS 2023-05-05 18:56:23 -07:00
block for-6.4/block-2023-05-06 2023-05-06 08:28:58 -07:00
certs
crypto This push fixes the following problems: 2023-05-07 10:57:14 -07:00
drivers net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
fs \n 2023-05-10 17:07:42 -05:00
include net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
init
io_uring for-6.4/io_uring-2023-05-07 2023-05-07 10:00:09 -07:00
ipc
kernel Minor tracing updates: 2023-05-05 13:11:02 -07:00
lib Networking fixes for 6.4-rc2, including fixes from netfilter 2023-05-11 08:42:47 -05:00
mm Reinstate the dmapool changes which were accidentally removed by 2023-05-06 11:43:08 -07:00
net net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
rust
samples LoongArch changes for v6.4 2023-05-04 12:40:16 -07:00
scripts Locking changes in v6.4: 2023-05-05 12:56:55 -07:00
security
sound sound fixes for 6.4-rc1 2023-05-06 08:07:11 -07:00
tools selftests: net: vxlan: Add tests for vxlan nolocalbypass option. 2023-05-13 17:02:33 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap for-6.4/block-2023-05-06 2023-05-06 08:28:58 -07:00
.rustfmt.toml
COPYING
CREDITS A handful of late-arriving documentation fixes, plus one Spanish 2023-05-05 13:16:42 -07:00
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: re-sort all entries and fields 2023-05-10 20:04:04 -05:00
Makefile Linux 6.4-rc1 2023-05-07 13:34:35 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.