katrinzhou
f72d410dbf
ipv6/sit: fix ipip6_tunnel_get_prl return value
...
[ Upstream commit adabdd8f6acabc0c3fdbba2e7f5a2edd9c5ef22d ]
When kcalloc fails, ipip6_tunnel_get_prl() should return -ENOMEM.
Move the position of label "out" to return correctly.
Addresses-Coverity: ("Unused value")
Fixes: 300aaeeaab5f ("[IPV6] SIT: Add SIOCGETPRL ioctl to get/dump PRL.")
Signed-off-by: katrinzhou <katrinzhou@tencent.com>
Reviewed-by: Eric Dumazet<edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20220628035030.1039171-1-zys.zljxml@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-07 17:52:20 +02:00
..
2020-06-20 21:33:57 -07:00
2022-06-29 08:59:46 +02:00
2020-08-31 12:26:39 -07:00
2022-07-07 17:52:15 +02:00
2020-11-25 11:20:16 -08:00
2022-06-09 10:21:09 +02:00
2021-04-14 08:42:05 +02:00
2020-07-30 16:30:55 -07:00
2021-03-17 17:06:15 +01:00
2022-06-09 10:21:09 +02:00
2022-03-16 14:15:57 +01:00
2022-04-27 13:53:48 +02:00
2021-07-14 16:56:28 +02:00
2021-12-08 09:03:21 +01:00
2020-06-20 21:33:57 -07:00
2022-06-09 10:21:09 +02:00
2022-06-09 10:21:09 +02:00
2022-05-30 09:33:23 +02:00
2022-02-01 17:25:44 +01:00
2022-02-23 12:01:01 +01:00
2022-06-29 08:59:48 +02:00
2021-03-04 11:38:46 +01:00
2022-04-13 21:00:56 +02:00
2022-03-02 11:42:49 +01:00
2022-04-20 09:23:28 +02:00
2022-02-01 17:25:43 +01:00
2020-06-01 14:57:14 -07:00
2022-01-11 15:25:02 +01:00
2022-04-13 21:00:56 +02:00
2020-07-09 12:55:37 +02:00
2020-08-02 01:02:12 -07:00
2020-09-18 17:45:04 -07:00
2020-03-29 22:30:57 -07:00
2021-05-14 09:50:44 +02:00
2021-06-03 09:00:48 +02:00
2020-11-13 14:24:39 -08:00
2020-10-30 12:57:39 +01:00
2021-07-19 09:44:44 +02:00
2022-06-09 10:21:09 +02:00
2022-06-09 10:21:09 +02:00
2021-06-03 09:00:50 +02:00
2022-07-07 17:52:15 +02:00
2020-06-23 20:27:09 -07:00
2020-04-18 15:04:27 -07:00
2022-07-07 17:52:17 +02:00
2021-12-14 11:32:36 +01:00
2020-06-04 15:39:32 -07:00
2020-06-04 15:39:32 -07:00
2022-07-07 17:52:20 +02:00
2022-06-09 10:21:09 +02:00
2020-09-02 15:44:53 -07:00
2022-06-09 10:21:09 +02:00
2020-07-09 12:52:37 +02:00
2020-07-24 15:41:54 -07:00
2021-02-10 09:29:23 +01:00
2022-06-09 10:21:09 +02:00
2020-07-19 18:16:41 -07:00
2020-05-06 09:40:08 +02:00
2022-04-08 14:39:47 +02:00
2019-12-24 22:28:54 -08:00
2020-04-28 11:28:36 +02:00
2020-05-06 09:40:08 +02:00
2020-10-09 12:29:48 +02:00