| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Re: Problems with corruption sending packets from a module |
| From: | Ian Lynagh <igloo@xxxxxxxx> |
| Date: | Mon, 20 Aug 2001 17:04:24 +0100 |
| In-reply-to: | <20010818174650.A21733@xxxxxxxxxxxxxxxxxxxxx>; from igloo@xxxxxxxx on Sat, Aug 18, 2001 at 05:46:50PM +0100 |
| References: | <20010818174650.A21733@xxxxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.15i |
On Sat, Aug 18, 2001 at 05:46:50PM +0100, Ian Lynagh wrote: > > skb->data = p->data; In case someone is reading the archives and has a similar problem, this appears to be the cause of the trouble. If I do skb->data += sizeof(struct ethhdr); then it's fine. I guess I ought to be using skb_reserve really and not have the ethhdr in my struct. It seems to work regardless if the destination is not in the arp cache. Ian |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Project Query, kedar sovani |
|---|---|
| Next by Date: | ip_input.c / time measurements, Guilhem Tardy |
| Previous by Thread: | Problems with corruption sending packets from a module, Ian Lynagh |
| Next by Thread: | Writting a "trusted" network device, acmay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |