Commit eba5b85
committed
selftests: netfilter: conntrack_resize.sh: extend resize test
jira KERNEL-156
Rebuild_History Non-Buildable kernel-6.12.0-124.2.1.el10_1
commit-author Florian Westphal <fw@strlen.de>
commit b085905
Extend the resize test:
- continuously dump table both via /proc and ctnetlink interfaces while
table is resized in a loop.
- if socat is available, send udp packets in additon to ping requests.
- increase/decrease the icmp and udp timeouts while resizes are happening.
This makes sure we also exercise the 'ct has expired' check that happens
on conntrack lookup.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
(cherry picked from commit b085905)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent b79e483 commit eba5b85
1 file changed
+75
-5
lines changedLines changed: 75 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
126 | | - | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
155 | 180 | | |
156 | 181 | | |
157 | 182 | | |
| |||
169 | 194 | | |
170 | 195 | | |
171 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
172 | 239 | | |
173 | 240 | | |
174 | 241 | | |
| |||
198 | 265 | | |
199 | 266 | | |
200 | 267 | | |
201 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
202 | 271 | | |
203 | 272 | | |
204 | | - | |
| 273 | + | |
| 274 | + | |
205 | 275 | | |
206 | 276 | | |
207 | 277 | | |
| |||
306 | 376 | | |
307 | 377 | | |
308 | 378 | | |
309 | | - | |
| 379 | + | |
310 | 380 | | |
311 | 381 | | |
312 | 382 | | |
| |||
368 | 438 | | |
369 | 439 | | |
370 | 440 | | |
371 | | - | |
| 441 | + | |
372 | 442 | | |
373 | 443 | | |
374 | 444 | | |
| |||
0 commit comments