X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdp_dev.c;h=3902a8c5f2eb21e41070eeeb8dd777f63a421b08;hb=7a3696adbfe26cfbe515b3d3564d2e4a08096b2c;hp=5aa32f0481cbbf58bfa0d9af3c7dfdece6ba40f3;hpb=00c030a5971ee311a474529407b3751b1fbacbcf;p=openvswitch diff --git a/datapath/dp_dev.c b/datapath/dp_dev.c index 5aa32f04..3902a8c5 100644 --- a/datapath/dp_dev.c +++ b/datapath/dp_dev.c @@ -86,12 +86,6 @@ static int dp_dev_xmit(struct sk_buff *skb, struct net_device *netdev) struct dp_dev *dp_dev = dp_dev_priv(netdev); struct pcpu_lstats *lb_stats; - /* By orphaning 'skb' we will screw up socket accounting slightly, but - * the effect is limited to the device queue length. If we don't - * do this, then the sk_buff will be destructed eventually, but it is - * harder to predict when. */ - skb_orphan(skb); - /* dp_process_received_packet() needs its own clone. */ skb = skb_share_check(skb, GFP_ATOMIC); if (!skb)