[ovs-dev] [dp-cleanups 1/4] datapath: No need to zero cb anymore in odp_packet_cmd_execute().
jesse at nicira.com
Fri Apr 29 17:44:29 UTC 2011
On Fri, Apr 29, 2011 at 10:07 AM, Ben Pfaff <blp at nicira.com> wrote:
> Before commit 3f19d399f "datapath: Fix mysterious GRE-over-IPSEC problems,"
> 'packet' in opd_packet_cmd_execute() was an skb cloned from one created by
> Netlink, so its cb member wasn't necessarily zeroed. But that commit
> changed 'packet' to be freshly allocated with __dev_alloc_skb(), which
> means that cb is zeroed, so we don't have to do it again.
> Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
More information about the dev