Willem de Bruijn
e6daf129cc
net: gso_test: support CONFIG_MAX_SKB_FRAGS up to 45
...
The test allocs a single page to hold all the frag_list skbs. This
is insufficient on kernels with CONFIG_MAX_SKB_FRAGS=45, due to the
increased skb_shared_info frags[] array length.
gso_test_func: ASSERTION FAILED at net/core/gso_test.c:210
Expected alloc_size <= ((1UL) << 12), but
alloc_size == 5075 (0x13d3)
((1UL) << 12) == 4096 (0x1000)
Simplify the logic. Just allocate a page for each frag_list skb.
Fixes: 4688ecb138 ("net: expand skb_segment unit test with frag_list coverage")
Signed-off-by: Willem de Bruijn <willemb@google.com >
Reviewed-by: Simon Horman <horms@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-11-13 11:04:38 +00:00
..
2023-03-29 08:22:52 +01:00
2023-10-27 12:44:13 +09:00
2023-10-28 11:29:28 +01:00
2023-10-28 11:29:28 +01:00
2023-10-13 17:59:32 -07:00
2023-10-23 08:45:25 +01:00
2023-10-01 19:09:54 +01:00
2023-08-24 10:51:39 -07:00
2023-11-02 16:15:30 -10:00
2023-11-01 22:33:53 -07:00
2023-05-31 13:06:57 +02:00
2023-11-08 13:52:32 +01:00
2023-06-24 15:50:13 -07:00
2023-10-12 17:07:34 -07:00
2023-11-02 16:15:30 -10:00
2023-11-13 11:04:38 +00:00
2023-08-01 21:07:46 -07:00
2023-11-02 12:56:03 +01:00
2023-11-01 22:13:43 -07:00
2023-10-24 13:08:14 -07:00
2023-10-20 12:47:33 +01:00
2023-10-26 13:46:28 -07:00
2023-11-01 22:26:04 -07:00
2023-08-29 17:39:15 -07:00
2023-11-10 08:37:09 +00:00
2023-11-09 17:09:35 -08:00
2023-09-19 13:26:57 +02:00
2023-11-08 18:17:44 -08:00
2023-08-18 12:44:56 -07:00
2023-10-05 13:16:47 -07:00
2023-11-01 22:21:32 -07:00
2023-10-26 20:27:58 -07:00
2023-06-24 15:41:46 -07:00
2023-10-10 19:43:22 -07:00
2023-08-15 15:26:18 -07:00
2023-11-02 16:15:30 -10:00
2023-09-18 07:06:05 +01:00
2023-11-08 18:15:00 -08:00
2023-08-02 12:28:22 -07:00
2023-11-03 11:42:48 +00:00
2023-10-01 19:09:54 +01:00
2023-10-16 17:34:53 -07:00
2023-06-10 00:11:41 -07:00
2023-11-08 17:47:08 -08:00
2023-10-12 17:07:34 -07:00
2023-06-24 15:50:13 -07:00
2023-07-17 09:02:30 +01:00
2023-10-01 19:31:29 +01:00
2023-10-11 16:55:10 +02:00
2023-10-01 19:09:54 +01:00
2023-11-01 22:28:55 -07:00
2023-11-08 18:30:21 -08:00
2023-10-05 13:16:47 -07:00
2023-11-06 10:01:07 +00:00
2023-11-08 13:39:16 -08:00
2023-07-21 08:54:03 +01:00
2023-11-01 22:26:37 -07:00
2023-10-23 10:15:09 -07:00
2023-10-27 09:12:47 -07:00
2023-11-07 18:56:06 -08:00
2023-10-26 20:27:58 -07:00
2023-10-01 19:09:54 +01:00
2023-10-24 11:55:36 +02:00
2023-11-09 17:09:35 -08:00
2023-04-14 11:09:27 +01:00
2023-10-11 10:39:01 +01:00
2023-04-19 18:48:48 -07:00
2023-11-01 22:33:53 -07:00
2023-08-15 15:26:17 -07:00