Re: net: alignment problem in icmp code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <netdev@...>
Date: Sunday, October 21, 2007 - 5: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, 5:35 pm)
Re: net: alignment problem in icmp code, David Miller, (Sun Oct 21, 1:12 am)
Re: net: alignment problem in icmp code, Pierre Ossman, (Sun Oct 21, 5:34 am)
Re: net: alignment problem in icmp code, David Miller, (Sun Oct 21, 3:48 pm)
Re: net: alignment problem in icmp code, Pierre Ossman, (Sun Oct 21, 5:21 pm)
Re: net: alignment problem in icmp code, David Miller, (Sun Oct 21, 7:02 pm)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 12:54 am)
Re: net: alignment problem in icmp code, David Miller, (Mon Oct 22, 1:15 am)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 3:23 am)
Re: net: alignment problem in icmp code, David Miller, (Mon Oct 22, 4:31 am)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 4:42 am)
Re: net: alignment problem in icmp code, David Miller, (Mon Oct 22, 5:05 am)
Re: net: alignment problem in icmp code, Pierre Ossman, (Mon Oct 22, 5:26 am)
Re: net: alignment problem in icmp code, Eric Dumazet, (Mon Oct 22, 5:52 am)