On Wed, Apr 22, 2020 at 10:10 AM <xiangxia.m....@gmail.com> wrote: > > From: Tonghao Zhang <xiangxia.m....@gmail.com> > > Don't allow user to create meter unlimitedly, which may cause > to consume a large amount of kernel memory. The max number > supported is decided by physical memory and 20K meters as default. > > Cc: Pravin B Shelar <pshe...@ovn.org> > Cc: Andy Zhou <az...@ovn.org> > Signed-off-by: Tonghao Zhang <xiangxia.m....@gmail.com> > --- > net/openvswitch/meter.c | 57 +++++++++++++++++++++++++++++++++-------- > net/openvswitch/meter.h | 2 ++ > 2 files changed, 49 insertions(+), 10 deletions(-) > Acked-by: Pravin B Shelar <pshe...@ovn.org>
Thanks. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev