- 1. Is mac address reference safe w/ zero copy? (score: 1)
- Author: Rusty Russell <rusty@xxxxxxxxxxxxxxxx>
- Date: Wed, 07 Feb 2001 23:13:51 +1100
- Hi Dave, et al, The following code in route.c:ip_route_input_slow() if (dev->hard_header_len) { int i; unsigned char *p = skb->mac.raw; printk(KERN_WARNING "ll header: "); for (i=0; i<dev->hard_heade
- /archives/netdev/2001-02/msg00069.html (7,319 bytes)
- 2. Re: Is mac address reference safe w/ zero copy? (score: 1)
- Author: "David S. Miller" <davem@xxxxxxxxxx>
- Date: Thu, 8 Feb 2001 00:14:11 -0800 (PST)
- It is safe unless you can show a place where an ethernet header lands somewhere other than skb->data on input :-) Format of input SKBs really have not changed at device header level. Later, David S.
- /archives/netdev/2001-02/msg00070.html (8,216 bytes)
- 3. Re: Is mac address reference safe w/ zero copy? (score: 1)
- Author: kuznet@xxxxxxxxxxxxx
- Date: Thu, 8 Feb 2001 22:20:56 +0300 (MSK)
- The answer to the question is "yes". But this code is buggy even without split skbs! Good discovery. 8) mac.raw+dev->hard_header_len is not guaranteed to be inside packet. It should terminate at skb
- /archives/netdev/2001-02/msg00076.html (7,941 bytes)
- 4. Is mac address reference safe w/ zero copy? (score: 1)
- Author: Rusty Russell <rusty@xxxxxxxxxxxxxxxx>
- Date: Wed, 07 Feb 2001 23:13:51 +1100
- Hi Dave, et al, The following code in route.c:ip_route_input_slow() if (dev->hard_header_len) { int i; unsigned char *p = skb->mac.raw; printk(KERN_WARNING "ll header: "); for (i=0; i<dev->hard_heade
- /archives/netdev/2001-02/msg00311.html (7,319 bytes)
- 5. Re: Is mac address reference safe w/ zero copy? (score: 1)
- Author: "David S. Miller" <davem@xxxxxxxxxx>
- Date: Thu, 8 Feb 2001 00:14:11 -0800 (PST)
- It is safe unless you can show a place where an ethernet header lands somewhere other than skb->data on input :-) Format of input SKBs really have not changed at device header level. Later, David S.
- /archives/netdev/2001-02/msg00312.html (8,322 bytes)
- 6. Re: Is mac address reference safe w/ zero copy? (score: 1)
- Author: kuznet@xxxxxxxxxxxxx
- Date: Thu, 8 Feb 2001 22:20:56 +0300 (MSK)
- Hello! The answer to the question is "yes". But this code is buggy even without split skbs! Good discovery. 8) mac.raw+dev->hard_header_len is not guaranteed to be inside packet. It should terminate
- /archives/netdev/2001-02/msg00318.html (7,994 bytes)
This search system is powered by
Namazu