net: export time stamp utility function for Ethernet MAC drivers
authorRichard Cochran <richardcochran@gmail.com>
Sun, 12 Jun 2011 02:18:58 +0000 (02:18 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Mon, 13 Jun 2011 21:26:12 +0000 (17:26 -0400)
The network stack provides the function, skb_clone_tx_timestamp().
Ethernet MAC drivers can call this via the transmit time stamping
hook, skb_tx_timestamp(). This commit exports the clone function so
that drivers using it can be compiled as modules.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
net/core/timestamping.c

index 7e7ca375d4316e93d85482dacf0b5da951b5b12e..3b00a6b027341e30fe649db1281a737ca4276d60 100644 (file)
@@ -68,6 +68,7 @@ void skb_clone_tx_timestamp(struct sk_buff *skb)
                break;
        }
 }
+EXPORT_SYMBOL_GPL(skb_clone_tx_timestamp);
 
 void skb_complete_tx_timestamp(struct sk_buff *skb,
                               struct skb_shared_hwtstamps *hwtstamps)