git: 149c457de14a - main - LinuxKPI: skbuff: fix tracing

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 19 Aug 2023 04:53:31 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=149c457de14a06a40e0419d7a4249b1a3b01ae7a

commit 149c457de14a06a40e0419d7a4249b1a3b01ae7a
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-08-19 04:50:03 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-08-19 04:53:00 +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
    MFC after:      10 days
---
 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);
 }