[ovs-dev] [PATCH net-next v2 2/3] net: openvswitch: refactor flow free function
David Miller
davem at davemloft.net
Mon Aug 24 13:09:26 UTC 2020
From: xiangxia.m.yue at gmail.com
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
detected.
And you can force the values to zero in such a situation.
Thank you.
More information about the dev
mailing list