[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1250002683-28554-1-git-send-email-mspang@csclub.uwaterloo.ca>
Date: Tue, 11 Aug 2009 10:58:03 -0400
From: Michael Spang <mspang@...lub.uwaterloo.ca>
To: Eric Dumazet <dada1@...mosbay.com>,
"David S. Miller" <davem@...emloft.net>,
LKML <linux-kernel@...r.kernel.org>
Cc: Michael Spang <mspang@...lub.uwaterloo.ca>
Subject: [PATCH] Revert netlink ABI change to gnet_stats_basic
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@...lub.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists