net: Change skb_ensure_writable()'s write_len param to unsigned int type
authorLiu Jian <liujian56@huawei.com>
Sat, 16 Apr 2022 10:58:00 +0000 (18:58 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 20 Apr 2022 21:48:22 +0000 (23:48 +0200)
commit92ece28072f18f30099770c5d4b8e300ea6820fa
treeb855ca6184c3499fb1f0a2b5fdcbb7e1a3f00080
parent45969b4152c1752089351cd6836a42a566d49bcf
net: Change skb_ensure_writable()'s write_len param to unsigned int type

Both pskb_may_pull() and skb_clone_writable()'s length parameters are of
type unsigned int already. Therefore, change this function's write_len
param to unsigned int type.

Signed-off-by: Liu Jian <liujian56@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20220416105801.88708-3-liujian56@huawei.com
include/linux/skbuff.h
net/core/skbuff.c