| .. | .. |
|---|
| 392 | 392 | "teardown": [ |
|---|
| 393 | 393 | "$TC actions flush action skbmod" |
|---|
| 394 | 394 | ] |
|---|
| 395 | + }, |
|---|
| 396 | + { |
|---|
| 397 | + "id": "b651", |
|---|
| 398 | + "name": "Replace skbmod action with invalid goto_chain control", |
|---|
| 399 | + "category": [ |
|---|
| 400 | + "actions", |
|---|
| 401 | + "skbmod" |
|---|
| 402 | + ], |
|---|
| 403 | + "setup": [ |
|---|
| 404 | + [ |
|---|
| 405 | + "$TC actions flush action skbmod", |
|---|
| 406 | + 0, |
|---|
| 407 | + 1, |
|---|
| 408 | + 255 |
|---|
| 409 | + ], |
|---|
| 410 | + "$TC actions add action skbmod set etype 0x1111 pass index 90" |
|---|
| 411 | + ], |
|---|
| 412 | + "cmdUnderTest": "$TC actions replace action skbmod set etype 0x1111 goto chain 42 index 90 cookie c1a0c1a0", |
|---|
| 413 | + "expExitCode": "255", |
|---|
| 414 | + "verifyCmd": "$TC actions ls action skbmod", |
|---|
| 415 | + "matchPattern": "action order [0-9]*: skbmod pass set etype 0x1111\\s+index 90 ref", |
|---|
| 416 | + "matchCount": "1", |
|---|
| 417 | + "teardown": [ |
|---|
| 418 | + "$TC actions flush action skbmod" |
|---|
| 419 | + ] |
|---|
| 395 | 420 | } |
|---|
| 396 | 421 | ] |
|---|