Thread (3 messages) 3 messages, 2 authors, 2022-02-18

Re: [PATCH net-next] net: prestera: flower: fix destroy tmpl in chain

From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-02-18 04:51:55
Also in: lkml

On Wed, 16 Feb 2022 16:43:44 +0200 Volodymyr Mytnyk wrote:
+	list_for_each_safe(pos, n, &block->template_list) {
+		template = list_entry(pos, typeof(*template), list);
nit: list_for_each_entry_safe()
+		if (template->chain_index == f->common.chain_index) {
+			/* put the reference to the ruleset kept in create */
+			prestera_flower_template_free(template);
+			return;
+		}
+	}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help