aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.com>2015-08-07 12:32:21 -0400
committerDavid S. Miller <davem@davemloft.net>2015-08-10 16:35:37 -0400
commit7a76a021cd5a292be875fbc616daf03eab1e6996 (patch)
tree37dc40a97977a06fb76259e65b443691dfa25bb7
parent330567b71d8716704b189454553c2696e1eceb6c (diff)
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 <bpoirier@suse.com> Cc: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/skbuff.h6
1 files 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)
2884 * 2884 *
2885 * PHY drivers may accept clones of transmitted packets for 2885 * PHY drivers may accept clones of transmitted packets for
2886 * timestamping via their phy_driver.txtstamp method. These drivers 2886 * timestamping via their phy_driver.txtstamp method. These drivers
2887 * must call this function to return the skb back to the stack, with 2887 * must call this function to return the skb back to the stack with a
2888 * or without a timestamp. 2888 * timestamp.
2889 * 2889 *
2890 * @skb: clone of the the original outgoing packet 2890 * @skb: clone of the the original outgoing packet
2891 * @hwtstamps: hardware time stamps, may be NULL if not available 2891 * @hwtstamps: hardware time stamps
2892 * 2892 *
2893 */ 2893 */
2894void skb_complete_tx_timestamp(struct sk_buff *skb, 2894void skb_complete_tx_timestamp(struct sk_buff *skb,