public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert netlink ABI change to gnet_stats_basic
@ 2009-08-11 14:58 Michael Spang
  2009-08-16 12:33 ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Spang @ 2009-08-11 14:58 UTC (permalink / raw)
  To: Eric Dumazet, David S. Miller, LKML; +Cc: Michael Spang

In 5e140dfc1fe87eae27846f193086724806b33c7d "net: reorder struct Qdisc
for better SMP performance" the definition of struct gnet_stats_basic
changed incompatibly, and as copies of this struct may be shipped to
userland via netlink. This reverts back to the old ABI.

Signed-off-by: Michael Spang <mspang@csclub.uwaterloo.ca>
---
 include/linux/gen_stats.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/gen_stats.h b/include/linux/gen_stats.h
index 0ffa41d..13f4e74 100644
--- a/include/linux/gen_stats.h
+++ b/include/linux/gen_stats.h
@@ -22,7 +22,7 @@ struct gnet_stats_basic
 {
 	__u64	bytes;
 	__u32	packets;
-} __attribute__ ((packed));
+};
 
 /**
  * struct gnet_stats_rate_est - rate estimator
-- 
1.6.0.4


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

end of thread, other threads:[~2009-08-18 21:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 14:58 [PATCH] Revert netlink ABI change to gnet_stats_basic Michael Spang
2009-08-16 12:33 ` Eric Dumazet
2009-08-16 13:42   ` Michael Spang
2009-08-16 19:36     ` Eric Dumazet
2009-08-16 20:10       ` Michael Spang
2009-08-18  4:34         ` David Miller
2009-08-18 21:21       ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox