#400: slab error followed by oops (r1451)
----------------------------------+-----------------------------------------
      Reporter:  [EMAIL PROTECTED]       |       Owner:                         
             
          Type:  defect           |      Status:  new                           
      
      Priority:  major            |   Milestone:  version 0.9.0 - move to new 
codebase
     Component:  madwifi: driver  |     Version:  trunk                         
      
    Resolution:                   |    Keywords:                                
      
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by [EMAIL PROTECTED]):

 I've digged a bit deeper into that. It seems the oops occurs at
 ieee80211_output.c (line 667):

 665:        } else if (skb_tailroom(skb) < need_tailroom) {
 666:                int n = 0;
 667:                if (inter_headroom > skb_headroom(skb2))
 668:                        n = inter_headroom - skb_headroom(skb2);

 I think the use of skb2 here is invalid. In fact it's even undefined when
 ATH_SUPERG_FF is not set. I'm not sure whether changing skb2 to skb here
 is the proper fix, but at least it makes the oops vanish.

-- 
Ticket URL: <http://madwifi.org/ticket/400>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to