Files
linux/net/ipv4
Maximilian Güntner 329365dc46 ipv4: output metric as unsigned int
adding a route metric greater than 0x7fff_ffff leads to an
unintended wrap when printing the underlying u32 as an
unsigned int (`%d`) thus incorrectly rendering the metric
as negative.  Formatting using `%u` corrects the issue.

Signed-off-by: Maximilian Güntner <code@mguentner.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241212161911.51598-1-code@mguentner.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-15 13:13:40 -08:00
..
2024-12-10 15:30:36 +01:00
2024-11-11 10:32:06 -08:00
2024-09-11 20:44:31 -07:00
2024-12-15 13:13:40 -08:00
2024-09-09 17:21:47 -07:00
2024-07-30 18:35:12 -07:00
2024-01-04 10:23:10 -08:00
2024-11-11 10:32:06 -08:00
2021-05-17 15:29:35 -07:00
2024-06-06 11:52:52 +02:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00