net_sched: long word align struct qdisc_skb_cb data
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 23 Feb 2011 07:05:07 +0000 (07:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 22:17:02 +0000 (14:17 -0800)
commit9e924cf4078e377b84e2fd24ae11a61be7c6f5a3
tree65db579eb60e15c4c0126ce0bd35d257ecc542ce
parentd3bd1b4c89cceca42211cd5bd30508b903267229
net_sched: long word align struct qdisc_skb_cb data

netem_skb_cb() does :

return (struct netem_skb_cb *)qdisc_skb_cb(skb)->data;

Unfortunatly struct qdisc_skb_cb data is not long word aligned, so
access to psched_time_t time_to_send uses a non aligned access.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h