Pablo Neira Ayuso
3ae37eafd3
netfilter: flowtable: restore ieee80211 forward path
...
Before commit 871df5007e ("netfilter: flowtable: bail out if forward
path cannot be discovered"), there was a fallback to set up a forward
path in case .ndo_fill_forward_path fails or DEV_PATH_MTK_WDMA was used.
Such fallback was used by commit d787a3e38f ("mac80211: add support
for .ndo_fill_forward_path").
One possibility is to handle DEV_PATH_MTK_WDMA from the flowtable
forward path discovery. However, this is only used internally by drivers
to retrieve mtk_wdma information to set up hardware offload. Felix
decided to use the .fill_forward_path interface for this purpose due to
the lack of a better interface at that time.
Add a new DEV_PATH_IEEE80211 path which is offered if the new ieee80211
flag is set on in the struct net_device_path_ctx to restore the
flowtable with a ieee80211 netdevice. Handle this new DEV_PATH_IEEE80211
path just like DEV_PATH_ETHERNET and DEV_PATH_DSA, ie. this is the last
netdevice in the stack.
This new ieee80211 flag is implicitly unset for mtk_ppe and airoha which
call dev_fill_forward_path() to retrieve a DEV_PATH_MTK_WDMA path.
Fixes: 871df5007e ("netfilter: flowtable: bail out if forward path cannot be discovered")
Signed-off-by: Pablo Neira Ayuso <[email protected] >
2026-09-30 09:35:20 +02:00
..
2026-09-27 22:38:47 +02:00
2026-09-30 09:35:20 +02:00
2026-03-29 11:21:24 -07:00
2026-09-07 18:48:52 +02:00
2026-05-24 22:55:47 +02:00
2026-03-19 10:26:31 +01:00
2026-08-27 14:11:40 +02:00
2026-07-24 11:45:19 +02:00
2026-08-01 20:45:24 +02:00
2026-07-24 11:45:19 +02:00
2026-08-10 13:01:37 +02:00
2026-07-24 11:45:19 +02:00
2026-08-18 00:54:40 +02:00
2026-06-05 16:16:44 +02:00
2026-07-24 11:45:19 +02:00
2026-04-08 07:51:31 +02:00
2026-07-02 12:17:14 +02:00
2026-08-10 13:03:15 +02:00
2026-07-24 11:45:19 +02:00
2026-07-02 12:17:14 +02:00
2026-09-18 10:58:13 +02:00
2026-07-02 12:17:14 +02:00
2026-07-02 12:17:14 +02:00
2026-01-20 16:23:37 +01:00
2026-06-14 12:51:55 +02:00
2026-01-20 16:23:37 +01:00
2026-01-20 16:23:37 +01:00
2026-08-10 20:25:56 +02:00
2026-08-14 12:23:12 -07:00
2026-07-22 13:47:02 +02:00
2026-08-10 20:25:56 +02:00
2026-07-02 12:17:14 +02:00
2026-06-14 12:51:55 +02:00
2026-09-03 01:39:27 +02:00
2026-07-02 12:17:14 +02:00
2026-08-13 13:12:24 +02:00
2026-07-24 11:45:19 +02:00
2026-06-05 13:11:55 +02:00
2026-06-15 14:09:57 -07:00
2026-01-02 12:04:28 -08:00
2026-09-30 09:35:20 +02:00
2026-08-10 13:03:08 +02:00
2026-09-30 09:35:20 +02:00
2026-09-30 09:35:20 +02:00
2026-02-21 01:02:28 -08:00
2026-08-13 13:12:24 +02:00
2026-09-03 01:39:27 +02:00
2026-02-21 01:02:28 -08:00
2026-07-24 11:45:19 +02:00
2026-09-30 09:35:20 +02:00
2026-09-30 09:35:20 +02:00
2026-07-24 11:45:19 +02:00
2026-07-22 13:47:02 +02:00
2026-07-24 11:45:19 +02:00
2026-03-29 11:21:24 -07:00
2026-01-20 16:23:37 +01:00
2026-07-02 12:17:14 +02:00
2026-07-30 12:53:19 -07:00
2026-07-24 11:45:19 +02:00
2026-06-19 12:19:58 +02:00
2026-06-05 13:11:55 +02:00
2026-09-18 11:24:05 +02:00
2026-06-14 12:50:01 +02:00
2026-08-10 20:27:29 +02:00
2026-06-14 12:50:01 +02:00
2026-04-08 07:51:30 +02:00
2026-07-10 10:20:05 +02:00
2026-09-10 14:07:48 -07:00
2026-07-02 12:17:14 +02:00
2026-09-07 18:43:16 +02:00
2026-06-05 13:11:54 +02:00
2026-09-18 10:57:28 +02:00
2026-03-09 18:32:45 -07:00
2026-05-22 12:28:46 +02:00
2026-06-01 13:43:53 +02:00
2026-03-12 12:53:34 -07:00
2026-04-08 07:51:31 +02:00
2026-06-23 08:11:22 +02:00
2026-04-08 07:51:30 +02:00
2026-02-25 19:36:26 -08:00
2026-06-14 12:50:01 +02:00
2026-08-10 13:03:15 +02:00
2026-02-25 19:36:26 -08:00
2026-08-27 16:10:57 +02:00
2026-06-15 14:09:57 -07:00
2026-02-25 19:36:26 -08:00
2026-06-30 06:37:12 +02:00
2026-06-30 06:37:12 +02:00
2026-09-30 09:35:20 +02:00
2026-06-14 13:07:03 +02:00
2026-04-08 07:51:31 +02:00
2026-04-08 07:51:31 +02:00
2026-06-14 12:50:01 +02:00
2026-02-26 10:23:00 -08:00
2026-04-08 07:51:30 +02:00
2026-04-08 07:51:30 +02:00
2026-07-08 15:33:37 +02:00
2026-06-14 12:50:01 +02:00
2026-07-31 14:47:03 +02:00
2026-09-11 13:04:14 +02:00
2026-04-08 07:51:31 +02:00
2026-04-08 07:51:31 +02:00
2026-04-30 17:59:01 +02:00
2026-08-18 00:51:40 +02:00
2026-04-08 07:51:30 +02:00
2026-04-08 07:51:30 +02:00
2026-04-08 07:51:31 +02:00
2026-06-14 12:50:01 +02:00
2026-02-25 19:36:26 -08:00
2026-02-25 19:36:26 -08:00
2026-06-14 12:50:01 +02:00
2026-07-31 14:47:03 +02:00
2025-09-10 20:28:24 +02:00
2026-06-14 12:50:01 +02:00
2026-08-27 16:10:57 +02:00
2025-08-20 13:52:37 +02:00
2026-06-30 06:37:07 +02:00
2026-06-30 06:37:07 +02:00
2026-09-30 09:35:20 +02:00
2026-06-14 12:50:01 +02:00
2026-09-18 10:57:56 +02:00
2026-04-30 17:59:01 +02:00
2026-06-14 12:50:01 +02:00
2026-07-31 14:47:03 +02:00
2026-03-29 11:21:24 -07:00
2026-07-02 12:17:14 +02:00
2026-04-30 08:03:22 +02:00
2025-12-16 11:04:14 -05:00
2026-08-27 16:10:57 +02:00
2026-06-19 12:22:14 +02:00
2026-03-09 18:32:45 -07:00
2026-03-09 18:32:45 -07:00
2026-07-03 14:45:21 +02:00
2026-05-22 12:28:46 +02:00
2026-06-05 16:16:44 +02:00
2026-04-08 07:51:27 +02:00
2026-04-30 08:03:22 +02:00
2026-07-02 12:17:14 +02:00
2026-04-30 17:59:01 +02:00
2026-08-27 16:10:57 +02:00
2026-07-23 18:01:25 +02:00
2026-08-27 16:10:57 +02:00
2026-08-27 16:10:57 +02:00
2026-08-27 16:10:57 +02:00
2026-08-27 16:10:57 +02:00
2026-08-27 16:10:57 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-08-27 16:10:57 +02:00
2026-04-20 23:27:52 +02:00
2026-08-27 16:10:57 +02:00
2026-08-27 16:10:57 +02:00
2026-07-10 16:28:47 +02:00
2026-08-27 16:10:57 +02:00
2026-06-01 13:43:52 +02:00
2026-04-30 17:59:01 +02:00
2026-04-20 23:27:52 +02:00
2026-07-10 16:28:47 +02:00
2026-04-30 08:03:22 +02:00
2026-02-21 17:09:51 -08:00
2026-07-03 14:45:21 +02:00
2026-02-21 17:09:51 -08:00
2026-04-20 23:27:52 +02:00
2026-07-02 12:17:14 +02:00
2026-08-27 16:10:57 +02:00
2026-08-27 16:10:57 +02:00
2026-04-30 08:03:22 +02:00
2026-04-10 12:16:26 +02:00
2026-02-21 17:09:51 -08:00
2026-07-24 11:21:35 +02:00
2026-04-30 08:03:22 +02:00
2026-07-02 12:17:14 +02:00
2026-08-27 16:10:57 +02:00
2026-02-21 17:09:51 -08:00
2026-03-19 14:16:00 -07:00
2026-04-30 17:59:01 +02:00
2026-07-08 15:33:44 +02:00