)]}' { "commit": "257422f77fc2a11429a3f86dea0a740752d15d19", "tree": "d6d52f7b26f9c874328f35e85e61c9e268577efe", "parents": [ "f21963fdff59959a5958db1f9723f7fb85efba23" ], "author": { "name": "Lutz Jaenicke", "email": "ljaenicke@innominate.com", "time": "Thu Aug 30 05:01:34 2012 +0000" }, "committer": { "name": "Stephen Hemminger", "email": "stephen.hemminger@vyatta.com", "time": "Tue Feb 19 07:45:59 2013 -0800" }, "message": "rtnl_wilddump_request: fix alignment issue for embedded platforms\n\nPlatforms have different alignment requirements which need to be\nfulfilled by the compiler. If the structure elements are already\n4 byte (NLMGS_ALIGNTO) aligned by the compiler adding an explicit\npadding element (align_rta) is not allowed.\nUse __attribute__ ((aligned (NLMSG_ALIGNTO))) in order to achieve\nthe required alignment.\nExperienced on ARM (xscale) with symptom\n netlink: 12 bytes leftover after parsing attributes\n\nTested on:\n ARM (32bit Big Endian)\n PowerPC (32bit Big Endian)\n x86_64 (64bit Little Endian)\nEach with different aligment requirments.\n\nSigned-off-by: Lutz Jaenicke \u003cljaenicke@innominate.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "8e8c8b9e574a469a365d176f790523a46db17b88", "old_mode": 33188, "old_path": "lib/libnetlink.c", "new_id": "09b4277844ca3fc8ea44ef923bedfe30a031f729", "new_mode": 33188, "new_path": "lib/libnetlink.c" } ] }