netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: Make devnet_rename_seq static
@ 2013-07-23 14:05 Thomas Gleixner
  2013-07-23 14:12 ` Eric Dumazet
  2013-07-23 14:13 ` Thomas Gleixner
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Gleixner @ 2013-07-23 14:05 UTC (permalink / raw)
  To: netdev; +Cc: Eric Dumazet

No users outside net/core/dev.c.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

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

* Re: [PATCH] net: Make devnet_rename_seq static
  2013-07-23 14:05 [PATCH] net: Make devnet_rename_seq static Thomas Gleixner
@ 2013-07-23 14:12 ` Eric Dumazet
  2013-07-23 14:13 ` Thomas Gleixner
  1 sibling, 0 replies; 5+ messages in thread
From: Eric Dumazet @ 2013-07-23 14:12 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: netdev, Eric Dumazet

On Tue, 2013-07-23 at 16:05 +0200, Thomas Gleixner wrote:
> No users outside net/core/dev.c.
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Seems you need more coffee than I do ;)

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

* [PATCH] net: Make devnet_rename_seq static
  2013-07-23 14:05 [PATCH] net: Make devnet_rename_seq static Thomas Gleixner
  2013-07-23 14:12 ` Eric Dumazet
@ 2013-07-23 14:13 ` Thomas Gleixner
  2013-07-23 14:17   ` Eric Dumazet
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2013-07-23 14:13 UTC (permalink / raw)
  To: netdev; +Cc: Eric Dumazet

No users outside net/core/dev.c.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 include/linux/netdevice.h |    3 ---
 net/core/dev.c            |    2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

Index: linux-stable/include/linux/netdevice.h
===================================================================
--- linux-stable.orig/include/linux/netdevice.h
+++ linux-stable/include/linux/netdevice.h
@@ -1601,9 +1601,6 @@ extern int call_netdevice_notifiers(unsi
 
 extern rwlock_t				dev_base_lock;		/* Device list lock */
 
-extern seqcount_t	devnet_rename_seq;	/* Device rename seq */
-
-
 #define for_each_netdev(net, d)		\
 		list_for_each_entry(d, &(net)->dev_base_head, dev_list)
 #define for_each_netdev_reverse(net, d)	\
Index: linux-stable/net/core/dev.c
===================================================================
--- linux-stable.orig/net/core/dev.c
+++ linux-stable/net/core/dev.c
@@ -166,7 +166,7 @@ static struct list_head offload_base __r
 DEFINE_RWLOCK(dev_base_lock);
 EXPORT_SYMBOL(dev_base_lock);
 
-seqcount_t devnet_rename_seq;
+static seqcount_t devnet_rename_seq;
 
 static inline void dev_base_seq_inc(struct net *net)
 {

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

* Re: [PATCH] net: Make devnet_rename_seq static
  2013-07-23 14:13 ` Thomas Gleixner
@ 2013-07-23 14:17   ` Eric Dumazet
  2013-07-25  0:57     ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2013-07-23 14:17 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: netdev, Eric Dumazet

On Tue, 2013-07-23 at 16:13 +0200, Thomas Gleixner wrote:
> No users outside net/core/dev.c.
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---

Acked-by: Eric Dumazet <edumazet@google.com>

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

* Re: [PATCH] net: Make devnet_rename_seq static
  2013-07-23 14:17   ` Eric Dumazet
@ 2013-07-25  0:57     ` David Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2013-07-25  0:57 UTC (permalink / raw)
  To: eric.dumazet; +Cc: tglx, netdev, edumazet

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 23 Jul 2013 07:17:15 -0700

> On Tue, 2013-07-23 at 16:13 +0200, Thomas Gleixner wrote:
>> No users outside net/core/dev.c.
>> 
>> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>> ---
> 
> Acked-by: Eric Dumazet <edumazet@google.com>

Applied to net-next, thanks.

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

end of thread, other threads:[~2013-07-25  0:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23 14:05 [PATCH] net: Make devnet_rename_seq static Thomas Gleixner
2013-07-23 14:12 ` Eric Dumazet
2013-07-23 14:13 ` Thomas Gleixner
2013-07-23 14:17   ` Eric Dumazet
2013-07-25  0:57     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).