diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-02-23 07:05:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-23 14:17:02 -0800 |
commit | 9e924cf4078e377b84e2fd24ae11a61be7c6f5a3 (patch) | |
tree | 65db579eb60e15c4c0126ce0bd35d257ecc542ce /include | |
parent | d3bd1b4c89cceca42211cd5bd30508b903267229 (diff) | |
download | kernel_samsung_crespo-9e924cf4078e377b84e2fd24ae11a61be7c6f5a3.zip kernel_samsung_crespo-9e924cf4078e377b84e2fd24ae11a61be7c6f5a3.tar.gz kernel_samsung_crespo-9e924cf4078e377b84e2fd24ae11a61be7c6f5a3.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sch_generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 160a407..04f8556 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -199,7 +199,7 @@ struct tcf_proto { struct qdisc_skb_cb { unsigned int pkt_len; - char data[]; + long data[]; }; static inline int qdisc_qlen(struct Qdisc *q) |