diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-06-19 21:51:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-20 13:56:53 -0700 |
commit | 238442f6bc10ba31577fc47e476c88689c80c7fa (patch) | |
tree | d6d5de4f94025ed12c55507c86b5738caf5a8756 /net/core | |
parent | 306ff6eb8e9c18bcafb8ca5be4be3c78dfe45475 (diff) | |
download | linux-238442f6bc10ba31577fc47e476c88689c80c7fa.tar.bz2 |
net: export the receive time stamping hook for non-NAPI drivers
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/timestamping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/timestamping.c b/net/core/timestamping.c index 3b00a6b02734..98a52640e7cd 100644 --- a/net/core/timestamping.c +++ b/net/core/timestamping.c @@ -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) { |