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)
commit6eaab4dfdd30ea8fb0dd4ee04940676c12b728e8
tree497879daa4e267b190e1b0d712635889d39fe1e4
parent929a6cdfaeac9de6a1004eb18999e1439527cfb4
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