[ovs-dev] [PATCH] ofproto-dpif-mirror: Check VLANs without copying 4096-bit bitmap.

Ben Pfaff blp at nicira.com
Mon Jul 27 22:27:05 UTC 2015


On Mon, Jul 27, 2015 at 03:17:26PM -0700, Ben Pfaff wrote:
> On Mon, Jul 27, 2015 at 01:52:00PM -0700, Andy Zhou wrote:
> > On Fri, Jul 24, 2015 at 3:36 PM, Ben Pfaff <blp at nicira.com> wrote:
> > > When a mirror was restricted to particular VLANs, this code was allocating,
> > > copying, and freeing a 512-byte block of memory just to check the value of
> > > a single bit in the block.  This fixes the problem.
> > >
> > > Found by inspection.
> > >
> > > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > Acked-by: Andy Zhou <azhou at nicira.com>
> 
> Thanks, applied to branch-2.4.

Also to master (of course) and branch-2.3.



More information about the dev mailing list