net: support non paged skb frags
authorMina Almasry <almasrymina@google.com>
Tue, 10 Sep 2024 17:14:51 +0000 (17:14 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Sep 2024 03:44:31 +0000 (20:44 -0700)
commit9f6b619edf2e85746f261b42ae8f818a59d126f7
tree0eba6fef2f40b4e4261e96815a9946b58869bf8e
parent0f921404689398943257793f7240db239a23b609
net: support non paged skb frags

Make skb_frag_page() fail in the case where the frag is not backed
by a page, and fix its relevant callers to handle this case.

Signed-off-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20240910171458.219195-8-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h
include/linux/skbuff_ref.h
net/core/dev.c
net/core/gro.c
net/core/skbuff.c
net/ipv4/esp4.c
net/ipv4/tcp.c
net/ipv6/esp6.c