ARM64: dts: rk3368-android: enable vpu_combo default
[firefly-linux-kernel-4.4.55.git] / net / netfilter / nf_tables_api.c
index f1002dcfa1c9a0f0312d00e8e757c94167678162..2cb429d34c03c99e2e030becede22b05db604a76 100644 (file)
@@ -4024,7 +4024,8 @@ static int nf_tables_abort(struct sk_buff *skb)
        struct nft_trans *trans, *next;
        struct nft_trans_elem *te;
 
-       list_for_each_entry_safe(trans, next, &net->nft.commit_list, list) {
+       list_for_each_entry_safe_reverse(trans, next, &net->nft.commit_list,
+                                        list) {
                switch (trans->msg_type) {
                case NFT_MSG_NEWTABLE:
                        if (nft_trans_table_update(trans)) {