| Submitter | Jarek Poplawski |
|---|---|
| Date | Feb. 17, 2009, 11:12 p.m. |
| Message ID | <20090217231255.GA3389@ami.dom.local> |
| Download | mbox | patch |
| Permalink | /patch/23316/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/net/core/dev.c b/net/core/dev.c index a17e006..b822a5d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1346,7 +1346,7 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) if ((ptype->dev == dev || !ptype->dev) && (ptype->af_packet_priv == NULL || (struct sock *)ptype->af_packet_priv != skb->sk)) { - struct sk_buff *skb2= skb_clone(skb, GFP_ATOMIC); + struct sk_buff *skb2= skb_copy(skb, GFP_ATOMIC); if (!skb2) break;