aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-08-19 04:50:03 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2023-11-29 16:36:04 +0000
commit88910886fa50a6eccdc7d263778143ddd68c61df (patch)
tree9a2bc233919fbc152c6e98d61ba53a037e11bb97
parentf0d33323feab22b2550437132b8ee89f2086b310 (diff)
downloadsrc-88910886fa50a6eccdc7d263778143ddd68c61df.tar.gz
src-88910886fa50a6eccdc7d263778143ddd68c61df.zip
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)
-rw-r--r--sys/compat/linuxkpi/common/include/linux/skbuff.h3
1 files changed, 1 insertions, 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);
}