| To: | rusty@xxxxxxxxxxxxxxxx (Rusty Russell) |
|---|---|
| Subject: | Re: BUG: 2.3.35 SMP tcpdump crash |
| From: | kuznet@xxxxxxxxxxxxx |
| Date: | Wed, 5 Jan 2000 19:55:16 +0300 (MSK) |
| Cc: | davem@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <m125gyt-000Dt4C@gargle.linuxcare.com.au> from "Rusty Russell" at Jan 5, 0 02:19:27 pm |
| Sender: | owner-netdev@xxxxxxxxxxx |
Hello! > I must be very stupid today. skb_copy() still copies MAC header: > > /* Copy the bytes */ > memcpy(n->head,skb->head,skb->end-skb->head); Superb! > If you mean skb_cow: why not revert my recent `fix'. Something like > this, and be happy 8-). Well, actually I did _not_ want to copy it in skb_cow(). When head is reallocated, copying old head is useless work. The thing, which I said about, is that potential users of skb_expand _probably_ really want this, when they expand tail. Alexey |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: BUG: 2.3.35 SMP tcpdump crash, Rusty Russell |
|---|---|
| Next by Date: | Re: Question on ARP proxy code., kuznet |
| Previous by Thread: | Re: BUG: 2.3.35 SMP tcpdump crash, Rusty Russell |
| Next by Thread: | Help on Kernel-Application Programme Communication, zam_ustc |
| Indexes: | [Date] [Thread] [Top] [All Lists] |