net: export the receive time stamping hook for non-NAPI drivers
authorRichard Cochran <richardcochran@gmail.com>
Sun, 19 Jun 2011 21:51:23 +0000 (21:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jun 2011 20:56:53 +0000 (13:56 -0700)
Ethernet MAC drivers based on phylib (but not using NAPI) can
enable hardware time stamping in phy devices by calling netif_rx()
conditionally based on a call to skb_defer_rx_timestamp().

This commit exports that function so that drivers calling it may
be compiled as modules.

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

index 3b00a6b027341e30fe649db1281a737ca4276d60..98a52640e7cd836322577d0b40f18018f2965eea 100644 (file)
@@ -122,6 +122,7 @@ bool skb_defer_rx_timestamp(struct sk_buff *skb)
 
        return false;
 }
+EXPORT_SYMBOL_GPL(skb_defer_rx_timestamp);
 
 void __init skb_timestamping_init(void)
 {