netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regression: Recent networking (qdisc?) patches break irda_get_next_speed()
@ 2008-10-21 18:20 Alex Villací­s Lasso
  2008-10-21 19:37 ` Jarek Poplawski
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Villací­s Lasso @ 2008-10-21 18:20 UTC (permalink / raw)
  To: netdev

A regression has been introduced in 2.6.27 in the networking code, which 
breaks the irda_get_next_speed() function used by some IrDA drivers, 
including ks959-sir, written by me. I have filed a bug at:

http://bugzilla.kernel.org/show_bug.cgi?id=11795

to keep track of this. I am still performing bisection to locate the 
exact commit that broke the code, but the bug involves an overwriting of 
the beginning of a structure with extraneous data that makes the 
LAP_MAGIC check fail. I have tried searching the netdev archives, but 
there is no mention at all of regressions caused by this code. Milan 
Plzik at irda-users mentions the same problem affecting pxaficp_ir, and 
mentions recent qdisc patches as possible culprits.  Vasily Khoruzhick 
reported this bug at irda-users, and a quick hack (not a proper fix) 
proposed by him involves padding "struct irda_skb_cb" with 4 bytes at 
the beginning of the structure to move everything else past the buggy 
scribbling.


This URL contains an early reference to what is possibly this same bug
http://sourceforge.net/mailarchive/forum.php?thread_name=1223138254.21553.7.camel%40localhost&forum_name=irda-users

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-24  0:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 18:20 Regression: Recent networking (qdisc?) patches break irda_get_next_speed() Alex Villací­s Lasso
2008-10-21 19:37 ` Jarek Poplawski
2008-10-21 23:37   ` Alex Villací­s Lasso
2008-10-21 23:41     ` David Miller
     [not found]       ` <20081021.164121.257737412.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-23  0:24         ` Alex Villací­s Lasso
2008-10-23 22:13           ` Brandeburg, Jesse
2008-10-23 23:16             ` Stephen Hemminger
2008-10-24  0:21             ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).