Messages in this thread Patch in this message | | | From | Michael Spang <> | Subject | [PATCH] Revert netlink ABI change to gnet_stats_basic | Date | Tue, 11 Aug 2009 10:58:03 -0400 |
| |
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
| |