Florian Westphal
e15e502710
netfilter: xt_mangle: only check verdict part of return value
...
These checks assume that the caller only returns NF_DROP without
any errno embedded in the upper bits.
This is fine right now, but followup patches will start to propagate
such errors to allow kfree_skb_drop_reason() in the called functions,
those would then indicate 'errno << 8 | NF_STOLEN'.
To not break things we have to mask those parts out.
Signed-off-by: Florian Westphal <fw@strlen.de>
2023-10-18 10:26:43 +02:00
..
2023-05-31 13:06:57 +02:00
2023-10-18 10:26:43 +02:00
2023-10-13 12:35:43 -07:00
2023-02-13 18:35:15 +08:00
2023-03-15 00:37:32 -07:00
2023-07-18 17:31:10 -07:00
2023-08-16 11:09:17 +01:00
2023-10-01 19:39:19 +01:00
2023-09-08 08:02:17 +01:00
2023-06-22 18:40:38 -07:00
2023-07-19 11:03:03 +01:00
2023-03-16 17:26:31 -07:00
2022-02-17 11:44:20 -08:00
2021-09-28 17:32:56 -07:00
2022-04-30 15:12:58 +01:00
2023-10-03 09:00:40 +02:00
2023-10-03 09:00:40 +02:00
2023-04-12 16:40:39 -07:00
2023-04-12 16:40:39 -07:00
2023-05-26 10:30:14 +01:00
2023-05-26 10:30:14 +01:00
2021-05-17 15:29:35 -07:00
2023-06-10 00:11:41 -07:00
2023-03-31 21:37:06 -07:00
2023-09-14 17:20:17 +02:00
2023-07-20 12:34:18 -07:00
2023-10-01 19:39:18 +01:00
2022-10-31 20:14:27 -07:00
2023-09-13 07:18:04 +01:00
2023-08-16 11:09:17 +01:00
2022-07-08 12:10:33 +01:00
2023-10-13 09:58:45 -07:00
2023-08-15 15:26:18 -07:00
2023-07-19 12:27:09 +01:00
2023-09-01 08:11:51 +01:00
2022-01-29 17:53:07 +00:00
2023-10-01 19:39:18 +01:00
2023-10-01 19:39:19 +01:00
2023-08-04 18:24:52 -07:00
2023-04-13 16:43:38 -07:00
2023-07-11 11:06:08 +02:00
2022-09-29 07:18:00 +02:00
2023-05-22 11:17:55 +01:00
2023-04-12 16:40:39 -07:00
2022-06-24 11:34:38 +01:00
2023-08-30 09:44:09 +01:00
2022-11-16 13:02:04 +00:00
2023-04-12 16:40:39 -07:00
2023-01-23 21:37:25 -08:00
2022-05-16 13:03:29 +02:00
2023-08-15 18:54:53 -07:00
2023-10-16 21:05:33 -07:00
2023-01-26 10:52:18 +01:00
2021-05-17 15:29:35 -07:00
2023-04-06 12:01:20 -07:00
2023-10-01 19:39:19 +01:00
2023-10-16 09:57:52 +01:00
2023-06-06 21:13:03 -07:00
2023-10-16 14:55:32 -07:00
2023-10-01 19:09:54 +01:00
2022-04-06 12:05:41 -07:00
2023-09-29 17:05:00 +02:00
2022-10-16 15:27:07 -07:00
2023-03-22 22:53:00 -07:00
2023-02-02 00:25:14 +01:00
2023-02-02 00:25:14 +01:00
2022-09-20 10:21:49 -07:00
2023-08-16 11:09:18 +01:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2023-10-10 10:02:59 +02:00
2023-10-16 21:05:33 -07:00
2022-04-06 12:05:41 -07:00
2023-10-03 10:05:22 +02:00
2023-10-01 19:09:54 +01:00
2022-04-06 12:05:41 -07:00
2023-06-10 00:11:41 -07:00
2023-10-16 14:55:32 -07:00
2022-12-20 03:13:45 +01:00
2022-04-28 13:02:01 -07:00
2023-03-18 12:23:34 +00:00
2022-04-06 12:05:41 -07:00
2023-10-10 10:02:59 +02:00
2023-01-19 09:26:16 -08:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2023-10-10 10:02:59 +02:00
2021-05-17 15:29:35 -07:00
2023-03-03 17:25:15 +01:00
2022-11-16 09:43:35 +00:00
2023-06-24 15:50:13 -07:00
2023-09-14 16:16:36 +02:00
2023-10-16 09:57:52 +01:00
2023-10-03 11:39:34 +02:00
2023-10-16 21:05:33 -07:00
2023-09-14 16:16:36 +02:00
2023-09-14 16:16:36 +02:00
2023-08-29 17:39:15 -07:00
2022-06-08 10:10:13 -07:00
2022-09-29 07:18:00 +02:00