commit | 9ee5e5ade033875191a2d2e470033e9cdde44a6a | [log] [tgz] |
---|---|---|
author | Jonathan Lemon <jonathan.lemon@gmail.com> | Wed Jan 06 14:18:40 2021 -0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Jan 07 16:08:37 2021 -0800 |
tree | 83afacafdceb7f0d0c3b17c9e358cf7a11e32fe7 | |
parent | 04c2d33eabdc76df730e1e356f6b2c656381d7d5 [diff] |
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: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>