Commit a80c6ad
mptcp: pm: more precise error messages
Some errors reported by the userspace PM were vague: "this or that is
invalid".
It is easier for the userspace to know which part is wrong, instead of
having to guess that.
While at it, in mptcp_userspace_pm_set_flags() move the parsing after
the check linked to the local attribute.
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>1 parent 33b9eab commit a80c6ad
1 file changed
+24
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
228 | 234 | | |
229 | 235 | | |
230 | 236 | | |
| |||
531 | 537 | | |
532 | 538 | | |
533 | 539 | | |
534 | | - | |
535 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
536 | 548 | | |
537 | 549 | | |
538 | 550 | | |
| |||
580 | 592 | | |
581 | 593 | | |
582 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
583 | 601 | | |
584 | 602 | | |
585 | 603 | | |
586 | 604 | | |
587 | | - | |
588 | | - | |
589 | | - | |
| 605 | + | |
| 606 | + | |
590 | 607 | | |
591 | 608 | | |
592 | 609 | | |
| |||
0 commit comments