]> git.baikalelectronics.ru Git - kernel.git/commit
net: introduce struct ubuf_info_msgzc
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 23 Sep 2022 16:39:01 +0000 (17:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Sep 2022 01:51:24 +0000 (18:51 -0700)
commit7476087769130fc4d521449c14165d42955b6193
tree497879daa4e267b190e1b0d712635889d39fe1e4
parent42ade4dbfec15ea74fc162014a1310ccd8cc59f0
net: introduce struct ubuf_info_msgzc

We're going to split struct ubuf_info and leave there only
mandatory fields. Users are free to extend it. Add struct
ubuf_info_msgzc, which will be an extended version for MSG_ZEROCOPY and
some other users. It duplicates of struct ubuf_info for now and will be
removed in a couple of patches.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h