Eric Dumazet
728a83160f
phonet: fix rtm_phonet_notify() skb allocation
...
[ Upstream commit d8cac8568618dcb8a51af3db1103e8d4cc4aeea7 ]
fill_route() stores three components in the skb:
- struct rtmsg
- RTA_DST (u8)
- RTA_OIF (u32)
Therefore, rtm_phonet_notify() should use
NLMSG_ALIGN(sizeof(struct rtmsg)) +
nla_total_size(1) +
nla_total_size(4)
Fixes: f062f41d0657 ("Phonet: routing table Netlink interface")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Rémi Denis-Courmont <courmisch@gmail.com>
Link: https://lore.kernel.org/r/20240502161700.1804476-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-17 11:56:12 +02:00
..
2024-04-10 16:28:30 +02:00
2022-12-31 13:33:02 +01:00
2024-01-31 16:17:04 -08:00
2023-12-20 17:00:19 +01:00
2023-12-20 17:00:17 +01:00
2024-05-02 16:29:24 +02:00
2024-04-17 11:18:22 +02:00
2024-05-17 11:56:11 +02:00
2023-03-17 08:50:32 +01:00
2024-05-17 11:56:01 +02:00
2023-03-17 08:50:24 +01:00
2024-02-23 09:12:47 +01:00
2023-10-19 23:08:56 +02:00
2024-05-17 11:56:11 +02:00
2023-08-11 12:08:17 +02:00
2023-11-20 11:52:16 +01:00
2023-09-23 11:11:01 +02:00
2024-01-25 15:27:38 -08:00
2024-04-27 17:07:17 +02:00
2024-05-02 16:29:29 +02:00
2024-01-25 15:27:51 -08:00
2024-03-26 18:21:00 -04:00
2022-10-07 09:29:17 +02:00
2024-01-01 12:38:56 +00:00
2024-05-17 11:56:11 +02:00
2024-05-17 11:56:10 +02:00
2024-03-26 18:20:25 -04:00
2024-03-26 18:20:42 -04:00
2023-08-23 17:52:32 +02:00
2024-05-17 11:55:59 +02:00
2024-02-05 20:13:01 +00:00
2024-05-17 11:56:04 +02:00
2024-04-03 15:19:31 +02:00
2024-03-26 18:20:37 -04:00
2024-04-13 13:05:27 +02:00
2024-04-10 16:28:34 +02:00
2024-01-25 15:27:24 -08:00
2024-05-02 16:29:26 +02:00
2024-01-25 15:27:20 -08:00
2024-03-06 14:45:06 +00:00
2024-03-15 10:48:18 -04:00
2024-04-10 16:28:21 +02:00
2024-05-17 11:55:59 +02:00
2024-05-02 16:29:25 +02:00
2024-03-26 18:20:59 -04:00
2024-05-17 11:56:12 +02:00
2023-12-13 18:39:11 +01:00
2024-01-20 11:50:09 +01:00
2024-04-10 16:28:25 +02:00
2024-01-01 12:39:04 +00:00
2024-01-01 12:38:57 +00:00
2024-02-16 19:06:27 +01:00
2024-04-10 16:28:26 +02:00
2024-01-25 15:27:30 -08:00
2024-04-13 13:05:02 +02:00
2024-05-17 11:55:54 +02:00
2024-03-01 13:26:35 +01:00
2024-05-17 11:56:01 +02:00
2024-04-10 16:28:22 +02:00
2024-05-02 16:29:27 +02:00
2024-04-10 16:28:25 +02:00
2024-05-17 11:56:04 +02:00
2024-03-26 18:20:42 -04:00
2024-04-17 11:18:23 +02:00
2024-05-17 11:56:10 +02:00
2023-02-09 11:28:04 +01:00
2023-08-30 16:11:00 +02:00
2024-01-10 17:10:27 +01:00