aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-01-28 15:33:12 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2023-02-23 19:32:13 +0000
commit792038fdb234f608ba6301aaae364d02bd3ad9be (patch)
treeb82213b7cda0e7efdce539180c19b8fbfe8e28cd
parentb03bf921b5b67f2179c58cba49f42a67690ea401 (diff)
downloadsrc-792038fdb234f608ba6301aaae364d02bd3ad9be.tar.gz
src-792038fdb234f608ba6301aaae364d02bd3ad9be.zip
LinuxKPI: skbuff: implement skb_free_frag()
Using the work from 55038a6306a570c9f2df89f5ad076de0f7d98152 implement skb_free_frag() calling page_frag_free(). Sponsored by: The FreeBSD Foundation Approved by: re (cperciva) (cherry picked from commit dbbf46ebba78770c2c3a1d7983e92e79ca67abc0) (cherry picked from commit 8a6a4122e6dd91489e48de50a3080f82d00e8715)
-rw-r--r--sys/compat/linuxkpi/common/include/linux/skbuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h
index 35d5a1fd9b80..12a6be42e743 100644
--- a/sys/compat/linuxkpi/common/include/linux/skbuff.h
+++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h
@@ -791,7 +791,7 @@ static inline void
skb_free_frag(void *frag)
{
- SKB_TODO();
+ page_frag_free(frag);
}
static inline struct sk_buff *