Commit 9cb36fa
net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
When u32_replace_hw_knode fails, we need to undo the tcf_bind_filter
operation done at u32_set_parms.
Fixes: d34e3e1 ("net: cls_u32: Add support for skip-sw flag to tc u32 classifier.")
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Pedro Tammela <pctammela@mojatatu.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent b3d0e04 commit 9cb36fa
1 file changed
Lines changed: 30 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
715 | 731 | | |
716 | | - | |
717 | 732 | | |
718 | 733 | | |
719 | 734 | | |
| |||
760 | 775 | | |
761 | 776 | | |
762 | 777 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | 778 | | |
768 | 779 | | |
769 | 780 | | |
| |||
903 | 914 | | |
904 | 915 | | |
905 | 916 | | |
906 | | - | |
907 | | - | |
908 | | - | |
| 917 | + | |
| 918 | + | |
909 | 919 | | |
910 | 920 | | |
911 | 921 | | |
912 | 922 | | |
913 | 923 | | |
914 | 924 | | |
| 925 | + | |
| 926 | + | |
915 | 927 | | |
916 | 928 | | |
| 929 | + | |
| 930 | + | |
917 | 931 | | |
918 | 932 | | |
919 | 933 | | |
| |||
1074 | 1088 | | |
1075 | 1089 | | |
1076 | 1090 | | |
1077 | | - | |
| 1091 | + | |
1078 | 1092 | | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1079 | 1096 | | |
1080 | 1097 | | |
1081 | 1098 | | |
1082 | 1099 | | |
1083 | 1100 | | |
1084 | 1101 | | |
1085 | | - | |
| 1102 | + | |
1086 | 1103 | | |
1087 | 1104 | | |
1088 | 1105 | | |
| |||
1100 | 1117 | | |
1101 | 1118 | | |
1102 | 1119 | | |
1103 | | - | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1104 | 1123 | | |
1105 | 1124 | | |
1106 | 1125 | | |
| |||
0 commit comments