git: 792038fdb234 - releng/13.2 - LinuxKPI: skbuff: implement skb_free_frag()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Feb 2023 19:34:29 UTC
The branch releng/13.2 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=792038fdb234f608ba6301aaae364d02bd3ad9be
commit 792038fdb234f608ba6301aaae364d02bd3ad9be
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-01-28 15:33:12 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-02-23 19:32:13 +0000
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)
---
sys/compat/linuxkpi/common/include/linux/skbuff.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 *