Skip to content
Commit 9ee5e5ad authored by Jonathan Lemon's avatar Jonathan Lemon Committed by Jakub Kicinski
Browse files

tap/tun: add skb_zcopy_init() helper for initialization.



Replace direct assignments with skb_zcopy_init() for zerocopy
cases where a new skb is initialized, without changing the
reference counts.

Signed-off-by: default avatarJonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 04c2d33e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment