Thread (10 messages) 10 messages, 4 authors, 2020-09-01

Re: [PATCH net-next v3 2/3] net: openvswitch: refactor flow free function

From: Pravin Shelar <hidden>
Date: 2020-08-26 19:23:34

On Mon, Aug 24, 2020 at 10:08 PM [off-list ref] wrote:
From: Tonghao Zhang <redacted>

Decrease table->count and ufid_count unconditionally,
because we only don't use count or ufid_count to count
when flushing the flows. To simplify the codes, we
remove the "count" argument of table_instance_flow_free.

To avoid a bug when deleting flows in the future, add
WARN_ON in flush flows function.

Cc: Pravin B Shelar <redacted>
Signed-off-by: Tonghao Zhang <redacted>
Looks good.

Acked-by: Pravin B Shelar <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help