Netdev Archive on
help / color / mirror / Atom feed
From: David Miller <>
Subject: Re: [PATCH net-next v2 2/3] net: openvswitch: refactor flow free function
Date: Mon, 24 Aug 2020 06:09:26 -0700 (PDT)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Date: Mon, 24 Aug 2020 15:36:01 +0800

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

BUG_ON() is too severe, I think WARN_ON() or similar are sufficient
because the kernel can try to continue operating if this condition is

And you can force the values to zero in such a situation.

Thank you.

  reply	other threads:[~2020-08-24 13:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24  7:35 [PATCH net-next v2 0/3] net: openvswitch: improve codes xiangxia.m.yue
2020-08-24  7:36 ` [PATCH net-next v2 1/3] net: openvswitch: improve coding style xiangxia.m.yue
2020-08-26 19:23   ` Pravin Shelar
2020-08-31 13:00     ` Tonghao Zhang
2020-08-31 18:41       ` David Miller
2020-09-01 12:32         ` Tonghao Zhang
2020-08-24  7:36 ` [PATCH net-next v2 2/3] net: openvswitch: refactor flow free function xiangxia.m.yue
2020-08-24 13:09   ` David Miller [this message]
2020-08-24 13:56     ` Tonghao Zhang
2020-08-24  7:36 ` [PATCH net-next v2 3/3] net: openvswitch: remove unused keep_flows xiangxia.m.yue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).