All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] nf_bridge: remove holes in struct nf_bridge_info
@ 2012-04-19  9:19 Eric Dumazet
  2012-04-19 14:52 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Dumazet @ 2012-04-19  9:19 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

From: Eric Dumazet <edumazet@google.com>

Put use & mask on same location to avoid two holes on 64bit arches

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 include/linux/skbuff.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 775292a..f25795c 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -117,11 +117,11 @@ struct nf_conntrack {
 
 #ifdef CONFIG_BRIDGE_NETFILTER
 struct nf_bridge_info {
-	atomic_t use;
-	struct net_device *physindev;
-	struct net_device *physoutdev;
-	unsigned int mask;
-	unsigned long data[32 / sizeof(unsigned long)];
+	atomic_t		use;
+	unsigned int		mask;
+	struct net_device	*physindev;
+	struct net_device	*physoutdev;
+	unsigned long		data[32 / sizeof(unsigned long)];
 };
 #endif
 

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

* Re: [PATCH net-next] nf_bridge: remove holes in struct nf_bridge_info
  2012-04-19  9:19 [PATCH net-next] nf_bridge: remove holes in struct nf_bridge_info Eric Dumazet
@ 2012-04-19 14:52 ` Stephen Hemminger
  2012-04-19 19:19   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2012-04-19 14:52 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: David Miller, netdev

On Thu, 19 Apr 2012 11:19:25 +0200
Eric Dumazet <eric.dumazet@gmail.com> wrote:

> From: Eric Dumazet <edumazet@google.com>
> 
> Put use & mask on same location to avoid two holes on 64bit arches
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Acked-by: Stephen Hemminger <shemminger@vyatta.com>

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

* Re: [PATCH net-next] nf_bridge: remove holes in struct nf_bridge_info
  2012-04-19 14:52 ` Stephen Hemminger
@ 2012-04-19 19:19   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2012-04-19 19:19 UTC (permalink / raw)
  To: shemminger; +Cc: eric.dumazet, netdev

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Thu, 19 Apr 2012 07:52:46 -0700

> On Thu, 19 Apr 2012 11:19:25 +0200
> Eric Dumazet <eric.dumazet@gmail.com> wrote:
> 
>> From: Eric Dumazet <edumazet@google.com>
>> 
>> Put use & mask on same location to avoid two holes on 64bit arches
>> 
>> Signed-off-by: Eric Dumazet <edumazet@google.com>
> 
> Acked-by: Stephen Hemminger <shemminger@vyatta.com>

Applied, thanks.

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

end of thread, other threads:[~2012-04-19 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19  9:19 [PATCH net-next] nf_bridge: remove holes in struct nf_bridge_info Eric Dumazet
2012-04-19 14:52 ` Stephen Hemminger
2012-04-19 19:19   ` 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.