[ovs-dev] [PATCH] datapath: Memset executed packet's fields using memset.

Ben Pfaff blp at nicira.com
Thu Feb 24 04:14:27 UTC 2011


On Wed, Feb 23, 2011 at 8:07 PM, Jesse Gross <jesse at nicira.com> wrote:
> Currently we explicitly zero out each of the fields in the OVS_CB for
> executed packets.  However, it seems simpler and more robust to just
> memset the whole thing to zero.
>
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>

I don't know whether it's clearer to write packet->cb or OVS_CB(packet)
as the target of the memset.
-- 
"I don't normally do acked-by's.  I think it's my way of avoiding
getting blamed when it all blows up."               Andrew Morton




More information about the dev mailing list