Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69c30e1e authored by Samuel Ortiz's avatar Samuel Ortiz Committed by David S. Miller
Browse files

irda: Add irda_skb_cb qdisc related padding



We need to pad irda_skb_cb in order to keep it safe accross dev_queue_xmit()
calls. This is some ugly and temporary hack triggered by recent qisc code
changes.
Even though it fixes bugzilla.kernel.org bug #11795, it will be replaced by a
proper fix before 2.6.29 is released.

Signed-off-by: default avatarSamuel Ortiz <samuel@sortiz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2fccd281
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -136,8 +136,10 @@ struct dongle_reg {
/* 
 * Per-packet information we need to hide inside sk_buff 
 * (must not exceed 48 bytes, check with struct sk_buff)
 * The default_qdisc_pad field is a temporary hack.
 */
struct irda_skb_cb {
	unsigned int default_qdisc_pad;
	magic_t magic;       /* Be sure that we can trust the information */
	__u32   next_speed;  /* The Speed to be set *after* this frame */
	__u16   mtt;         /* Minimum turn around time */