git: d3caff9be6be - stable/13 - LinuxKPI: skbuff.h add skb_postpush_rcsum()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Feb 2022 23:43:32 UTC
The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=d3caff9be6be15624d5cac8c03b5ec8d4c0046e6 commit d3caff9be6be15624d5cac8c03b5ec8d4c0046e6 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2022-02-22 22:54:48 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2022-02-27 23:41:54 +0000 LinuxKPI: skbuff.h add skb_postpush_rcsum() Add a stub for skb_postpush_rcsum() needed by an updated iwlwifi. Sponsored by: The FreeBSD Foundation (cherry picked from commit a3e07b6ef3e12b7e6f8b4cfbd6eca7a7c3749d00) --- sys/compat/linuxkpi/common/include/linux/skbuff.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h index f5954a9c33cf..be93032c7561 100644 --- a/sys/compat/linuxkpi/common/include/linux/skbuff.h +++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h @@ -886,6 +886,12 @@ csum_unfold(__sum16 sum) return (sum); } +static __inline void +skb_postpush_rcsum(struct sk_buff *skb, const void *data, size_t len) +{ + SKB_TODO(); +} + static inline void skb_reset_tail_pointer(struct sk_buff *skb) {