diff mbox

net-timestamp: Update skb_complete_tx_timestamp comment

Message ID 1438965141-26099-1-git-send-email-bpoirier@suse.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Benjamin Poirier Aug. 7, 2015, 4:32 p.m. UTC
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 <bpoirier@suse.com>
Cc: Alexander Duyck <alexander.h.duyck@redhat.com>
---
 include/linux/skbuff.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

David Miller Aug. 10, 2015, 8:35 p.m. UTC | #1
From: Benjamin Poirier <bpoirier@suse.com>
Date: Fri,  7 Aug 2015 09:32:21 -0700

> 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 <bpoirier@suse.com>
> Cc: Alexander Duyck <alexander.h.duyck@redhat.com>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index d6cdd6e..22b6d9c 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,