Commit a552339
netfilter: nf_tables: Carry reset boolean in nft_obj_dump_ctx
Relieve the dump callback from having to inspect nlmsg_type upon each
call, just do it once at start of the dump.
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>1 parent 5a893b9 commit a552339
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7685 | 7685 | | |
7686 | 7686 | | |
7687 | 7687 | | |
| 7688 | + | |
7688 | 7689 | | |
7689 | 7690 | | |
7690 | 7691 | | |
| |||
7698 | 7699 | | |
7699 | 7700 | | |
7700 | 7701 | | |
7701 | | - | |
7702 | 7702 | | |
7703 | 7703 | | |
7704 | | - | |
7705 | | - | |
7706 | | - | |
7707 | 7704 | | |
7708 | 7705 | | |
7709 | 7706 | | |
| |||
7730 | 7727 | | |
7731 | 7728 | | |
7732 | 7729 | | |
7733 | | - | |
| 7730 | + | |
7734 | 7731 | | |
7735 | 7732 | | |
7736 | 7733 | | |
| |||
7739 | 7736 | | |
7740 | 7737 | | |
7741 | 7738 | | |
7742 | | - | |
| 7739 | + | |
7743 | 7740 | | |
7744 | 7741 | | |
7745 | 7742 | | |
| |||
7766 | 7763 | | |
7767 | 7764 | | |
7768 | 7765 | | |
| 7766 | + | |
| 7767 | + | |
| 7768 | + | |
7769 | 7769 | | |
7770 | 7770 | | |
7771 | 7771 | | |
| |||
0 commit comments