net: Rename and export copy_skb_header
authorIlya Lesokhin <ilyal@mellanox.com>
Mon, 30 Apr 2018 07:16:11 +0000 (10:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jul 2022 15:31:18 +0000 (17:31 +0200)
commit57e7b02611e3618d7e1b3a57270924af029ede8e
tree6d826f7417bf962ec4207d2be87ce47111d0b2fe
parent778b407ba1d66d62e95eae55553e1c8097783283
net: Rename and export copy_skb_header

commit 08303c189581c985e60f588ad92a041e46b6e307 upstream.

[ jgross@suse.com: added as needed by XSA-403 mitigation ]

copy_skb_header is renamed to skb_copy_header and
exported. Exposing this function give more flexibility
in copying SKBs.
skb_copy and skb_copy_expand do not give enough control
over which parts are copied.

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/skbuff.h
net/core/skbuff.c