git: 88910886fa50 - stable/13 - LinuxKPI: skbuff: fix tracing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Nov 2023 16:38:02 UTC
The branch stable/13 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=88910886fa50a6eccdc7d263778143ddd68c61df
commit 88910886fa50a6eccdc7d263778143ddd68c61df
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-08-19 04:50:03 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-11-29 16:36:04 +0000
LinuxKPI: skbuff: fix tracing
Fix arguments to a trace line and remove another trace line until we
actually will have the skb to trace along with a future implementation.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 149c457de14a06a40e0419d7a4249b1a3b01ae7a)
---
sys/compat/linuxkpi/common/include/linux/skbuff.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h
index 5e5f7e4a0a69..6f48ac74996b 100644
--- a/sys/compat/linuxkpi/common/include/linux/skbuff.h
+++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h
@@ -573,7 +573,7 @@ __skb_queue_tail(struct sk_buff_head *q, struct sk_buff *new)
static inline void
skb_queue_tail(struct sk_buff_head *q, struct sk_buff *new)
{
- SKB_TRACE2(q, skb);
+ SKB_TRACE2(q, new);
return (__skb_queue_tail(q, new));
}
@@ -1048,7 +1048,6 @@ static inline struct sk_buff *
napi_build_skb(void *data, size_t len)
{
- SKB_TRACE(skb);
SKB_TODO();
return (NULL);
}