All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: export skb_clone_tx_timestamp
@ 2011-04-14 17:35 Richard Cochran
  2011-04-15 22:46 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Cochran @ 2011-04-14 17:35 UTC (permalink / raw)
  To: netdev; +Cc: David Miller

MAC drivers compiled as modules may well want to call this function via
the skb_tx_timestamp inline function. This patch exports the function in
order to let this happen.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
---
 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 7e7ca37..3b00a6b 100644
--- a/net/core/timestamping.c
+++ b/net/core/timestamping.c
@@ -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)
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: export skb_clone_tx_timestamp
  2011-04-14 17:35 [PATCH] net: export skb_clone_tx_timestamp Richard Cochran
@ 2011-04-15 22:46 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-04-15 22:46 UTC (permalink / raw)
  To: richardcochran; +Cc: netdev

From: Richard Cochran <richardcochran@gmail.com>
Date: Thu, 14 Apr 2011 19:35:02 +0200

> MAC drivers compiled as modules may well want to call this function via
> the skb_tx_timestamp inline function. This patch exports the function in
> order to let this happen.
> 
> Signed-off-by: Richard Cochran <richard.cochran@omicron.at>

You can submit this patch to export this variable when you also submit
a patch to a upstream driver that makes use of this interface in such
a way.

But no sooner.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-15 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-14 17:35 [PATCH] net: export skb_clone_tx_timestamp Richard Cochran
2011-04-15 22:46 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.