Commit f3a7ff0
authored
Fix: handler return error (#1191)
* The error counter is incremented for each individual packet that fails
(handler_ret < 0), providing more accurate per-packet error statistics.
* The return value from rv_handle_mbuf is now checked. If it is
negative, an debug message in bulk for whole iteration is logged.1 parent 6215bf0 commit f3a7ff0
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2719 | 2719 | | |
2720 | 2720 | | |
2721 | 2721 | | |
2722 | | - | |
2723 | | - | |
| 2722 | + | |
2724 | 2723 | | |
2725 | 2724 | | |
2726 | 2725 | | |
2727 | 2726 | | |
2728 | 2727 | | |
2729 | 2728 | | |
| 2729 | + | |
2730 | 2730 | | |
2731 | 2731 | | |
2732 | 2732 | | |
| |||
2736 | 2736 | | |
2737 | 2737 | | |
2738 | 2738 | | |
| 2739 | + | |
| 2740 | + | |
2739 | 2741 | | |
2740 | 2742 | | |
2741 | 2743 | | |
| |||
2774 | 2776 | | |
2775 | 2777 | | |
2776 | 2778 | | |
2777 | | - | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
2778 | 2786 | | |
2779 | 2787 | | |
2780 | 2788 | | |
| |||
0 commit comments