Re: net: alignment problem in icmp code

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pierre Ossman
Date: Sunday, October 21, 2007 - 2:21 pm

On Sun, 21 Oct 2007 12:48:14 -0700 (PDT)
David Miller <davem@davemloft.net> wrote:


Not sure that would be valid. memcpy() is defined as having void* arguments=
, and the compiler cannot just ignore that if it chooses to inline it.

Still, just give it the char* from the skb and it cannot make any assumptio=
n on alignment.

Rgds
Pierre
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
net: alignment problem in icmp code, Pierre Ossman, (Sat Oct 20, 2:35 pm)
Re: net: alignment problem in icmp code, David Miller, (Sat Oct 20, 10:12 pm)
Re: net: alignment problem in icmp code, Pierre Ossman, (Sun Oct 21, 2:34 am)
Re: net: alignment problem in icmp code, David Miller, (Sun Oct 21, 12:48 pm)
Re: net: alignment problem in icmp code, Pierre Ossman, (Sun Oct 21, 2:21 pm)
Re: net: alignment problem in icmp code, David Miller, (Sun Oct 21, 4:02 pm)
Re: net: alignment problem in icmp code, Pierre Ossman, (Sun Oct 21, 9:54 pm)
Re: net: alignment problem in icmp code, David Miller, (Sun Oct 21, 10:15 pm)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 12:23 am)
Re: net: alignment problem in icmp code, David Miller, (Mon Oct 22, 1:31 am)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 1:42 am)
Re: net: alignment problem in icmp code, David Miller, (Mon Oct 22, 2:05 am)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 2:26 am)
Re: net: alignment problem in icmp code, Eric Dumazet, (Mon Oct 22, 2:52 am)