Paul Mackerras wrote:
> Can we assume that dev_alloc_skb will give us a 4-byte aligned
> skb->data?  If we can then I suggest we change 3 to 1 in the skb_put
> and memmove above, and get rid of the if (since its condition will
> always be false).

The usual kmalloc alignment rules hold for skb->head. skb->data
may be of any alignment, depending on where it is used. I don't know
enough about ppp to tell how it will look in this case.

Regards
Patrick
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to