> On Apr 11, 2022, at 6:02 AM, Liu Jian <liujian56@xxxxxxxxxx> wrote: > > The data length of skb frags + frag_list may be greater than 0xffff, > and skb_header_pointer can not handle negative offset and negative len. > So here INT_MAX is used to check the validity of offset and len. > Add the same change to the related function skb_store_bytes. > > Fixes: 05c74e5e53f6 ("bpf: add bpf_skb_load_bytes helper") > Signed-off-by: Liu Jian <liujian56@xxxxxxxxxx> Acked-by: Song Liu <songliubraving@xxxxxx>