Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Benjamin Poirier and committed by
David S. Miller
7a76a021 330567b7

+3 -3
+3 -3
include/linux/skbuff.h
··· 2884 2884 * 2885 2885 * PHY drivers may accept clones of transmitted packets for 2886 2886 * timestamping via their phy_driver.txtstamp method. These drivers 2887 - * must call this function to return the skb back to the stack, with 2888 - * or without a timestamp. 2887 + * must call this function to return the skb back to the stack with a 2888 + * timestamp. 2889 2889 * 2890 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 */ 2894 2894 void skb_complete_tx_timestamp(struct sk_buff *skb,