Eric Dumazet
ee9e39a6cb
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 12:02:22 +02:00
..
2024-04-10 16:35:57 +02:00
2024-05-17 12:02:07 +02:00
2023-12-20 17:01:50 +01:00
2023-12-20 17:01:48 +01:00
2024-05-02 16:32:36 +02:00
2024-04-17 11:19:25 +02:00
2024-05-17 12:02:21 +02:00
2024-02-05 20:14:20 +00:00
2023-05-31 13:06:57 +02:00
2024-05-17 12:02:06 +02:00
2023-06-24 15:50:13 -07:00
2024-02-23 09:25:17 +01:00
2024-03-01 13:34:56 +01:00
2024-05-17 12:02:21 +02:00
2023-08-01 21:07:46 -07:00
2023-11-20 11:59:35 +01:00
2024-03-26 18:20:11 -04:00
2024-01-25 15:35:41 -08:00
2023-08-09 13:08:09 -07:00
2024-05-02 16:32:46 +02:00
2024-01-25 15:36:00 -08:00
2024-02-23 09:24:50 +01:00
2024-04-10 16:35:42 +02:00
2023-08-29 17:39:15 -07:00
2024-01-01 12:42:30 +00:00
2024-05-17 12:02:20 +02:00
2024-05-17 12:02:20 +02:00
2024-03-26 18:19:12 -04:00
2024-03-26 18:19:40 -04:00
2023-08-18 12:44:56 -07:00
2024-05-17 12:02:02 +02:00
2024-02-05 20:14:36 +00:00
2024-05-17 12:02:10 +02:00
2024-04-03 15:28:27 +02:00
2024-03-26 18:19:34 -04:00
2024-04-13 13:07:41 +02:00
2024-04-10 16:36:06 +02:00
2024-01-25 15:35:20 -08:00
2024-05-02 16:32:39 +02:00
2024-01-25 15:35:14 -08:00
2024-03-06 14:48:34 +00:00
2024-03-15 10:48:21 -04:00
2024-04-10 16:35:41 +02:00
2024-05-17 12:02:02 +02:00
2024-05-02 16:32:38 +02:00
2024-03-26 18:20:10 -04:00
2024-05-17 12:02:22 +02:00
2023-12-13 18:45:10 +01:00
2024-01-20 11:51:47 +01:00
2024-04-10 16:35:49 +02:00
2024-01-01 12:42:41 +00:00
2024-01-01 12:42:31 +00:00
2024-05-17 12:02:06 +02:00
2024-04-10 16:35:51 +02:00
2024-01-25 15:35:30 -08:00
2024-04-13 13:07:33 +02:00
2024-05-17 12:02:20 +02:00
2024-03-01 13:35:06 +01:00
2024-05-17 12:02:06 +02:00
2024-05-02 16:32:40 +02:00
2024-05-02 16:32:40 +02:00
2024-04-10 16:35:50 +02:00
2024-05-17 12:02:10 +02:00
2024-03-26 18:19:41 -04:00
2024-04-17 11:19:28 +02:00
2024-05-17 12:02:20 +02:00
2023-07-19 10:07:27 -07:00
2024-01-10 17:16:51 +01:00
2023-08-15 15:26:17 -07:00