Commit 7a76a021 authored by Benjamin Poirier's avatar Benjamin Poirier Committed by David S. Miller

net-timestamp: Update skb_complete_tx_timestamp comment

After "62bccb8c 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: default avatarBenjamin Poirier <bpoirier@suse.com>
Cc: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 330567b7
...@@ -2884,11 +2884,11 @@ static inline bool skb_defer_rx_timestamp(struct sk_buff *skb) ...@@ -2884,11 +2884,11 @@ static inline bool skb_defer_rx_timestamp(struct sk_buff *skb)
* *
* PHY drivers may accept clones of transmitted packets for * PHY drivers may accept clones of transmitted packets for
* timestamping via their phy_driver.txtstamp method. These drivers * timestamping via their phy_driver.txtstamp method. These drivers
* must call this function to return the skb back to the stack, with * must call this function to return the skb back to the stack with a
* or without a timestamp. * timestamp.
* *
* @skb: clone of the the original outgoing packet * @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, void skb_complete_tx_timestamp(struct sk_buff *skb,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment