datapath: No need to zero cb anymore in odp_packet_cmd_execute().
authorBen Pfaff <blp@nicira.com>
Thu, 28 Apr 2011 23:13:39 +0000 (16:13 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 17:47:03 +0000 (10:47 -0700)
commitebca7787e50327716e2c2ea4a7cc2656fd4e9fd5
treefffdb198ee464e707ddaaa29b3276272902c782e
parent73976ebdb054d1a5a2fedb925304b5e0956c20d1
datapath: No need to zero cb anymore in odp_packet_cmd_execute().

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@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c