datapath: No need to zero cb anymore in odp_packet_cmd_execute().
[sliver-openvswitch.git] / datapath / datapath.c
index 5ce77cd..20ae4d8 100644 (file)
@@ -714,9 +714,6 @@ static int odp_packet_cmd_execute(struct sk_buff *skb, struct genl_info *info)
        else
                packet->protocol = htons(ETH_P_802_2);
 
-       /* Initialize OVS_CB (it came from Netlink so might not be zeroed). */
-       memset(OVS_CB(packet), 0, sizeof(struct ovs_skb_cb));
-
        err = flow_extract(packet, -1, &key, &is_frag);
        if (err)
                goto err_kfree_skb;