Linux Kernels

net-timestamp: Update skb_complete_tx_timestamp comment

This change “net-timestamp: Update skb_complete_tx_timestamp comment” (commit 7a76a02) in Linux kernel is authored by Benjamin Poirier <bpoirier [at]> on Fri Aug 7 09:32:21 2015 -0700.

Description of "net-timestamp: Update skb_complete_tx_timestamp comment"

The change “net-timestamp: Update skb_complete_tx_timestamp comment” introduces changes as follows.

net-timestamp: Update skb_complete_tx_timestamp comment

After "62bccb8 net-timestamp: Make the clone operation stand-alone from phy
timestamping" the hwtstamps parameter of skb_complete_tx_timestamp() may no
longer be NULL.

Signed-off-by: Benjamin Poirier <>
Cc: Alexander Duyck <>
Signed-off-by: David S. Miller <>

Linux kernel releases containing commit 7a76a02

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "net-timestamp: Update skb_complete_tx_timestamp comment"

There are 6 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 include/linux/skbuff.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index d6cdd6e87d53..22b6d9ca1654 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -2884,11 +2884,11 @@ static inline bool skb_defer_rx_timestamp(struct sk_buff *skb)
  * PHY drivers may accept clones of transmitted packets for
  * timestamping via their phy_driver.txtstamp method. These drivers
- * must call this function to return the skb back to the stack, with
- * or without a timestamp.
+ * must call this function to return the skb back to the stack with a
+ * timestamp.
  * @skb: clone of the the original outgoing packet
- * @hwtstamps: hardware time stamps, may be NULL if not available
+ * @hwtstamps: hardware time stamps
 void skb_complete_tx_timestamp(struct sk_buff *skb,

The commit for this change in Linux stable tree is 7a76a02 (patch).

Last modified: 2020/01/11 09:50