)]}' { "commit": "0564bf0afae443deeb16f36e2c39fefff89d05f2", "tree": "c5e1ce04411e5a08980e5a5b7411632d893f1607", "parents": [ "8e6ce7ebeb34f0992f56de078c3744fb383657fa" ], "author": { "name": "Konstantin Khlebnikov", "email": "khlebnikov@yandex-team.ru", "time": "Sat Jul 16 17:08:56 2016 +0300" }, "committer": { "name": "David S. Miller", "email": "davem@davemloft.net", "time": "Mon Jul 18 22:44:31 2016 -0700" }, "message": "net/sched/sch_htb: clamp xstats tokens to fit into 32-bit int\n\nIn kernel HTB keeps tokens in signed 64-bit in nanoseconds. In netlink\nprotocol these values are converted into pshed ticks (64ns for now) and\ntruncated to 32-bit. In struct tc_htb_xstats fields \"tokens\" and \"ctokens\"\nare declared as unsigned 32-bit but they could be negative thus tool \u0027tc\u0027\nprints them as signed. Big values loose higher bits and/or become negative.\n\nThis patch clamps tokens in xstat into range from INT_MIN to INT_MAX.\nIn this way it\u0027s easier to understand what\u0027s going on here.\n\nSigned-off-by: Konstantin Khlebnikov \u003ckhlebnikov@yandex-team.ru\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "62f9d8100c6eebc3ca60510e8f854b7e7e6c7a5f", "old_mode": 33188, "old_path": "net/sched/sch_htb.c", "new_id": "052f84d6cc236176b64adbd2c2c3c7f38b18cb43", "new_mode": 33188, "new_path": "net/sched/sch_htb.c" } ] }