On Wed, Apr 22, 2020 at 10:10 AM <[email protected]> wrote: > > From: Tonghao Zhang <[email protected]> > > 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 <[email protected]> > Cc: Andy Zhou <[email protected]> > Signed-off-by: Tonghao Zhang <[email protected]> > --- > net/openvswitch/meter.c | 57 +++++++++++++++++++++++++++++++++-------- > net/openvswitch/meter.h | 2 ++ > 2 files changed, 49 insertions(+), 10 deletions(-) > Acked-by: Pravin B Shelar <[email protected]>
Thanks. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
