Modify

Opened 10 years ago

Closed 8 years ago

#3784 closed enhancement (wontfix)

Iteration of BBS list in wlcompat.c

Reported by: matthias@… Owned by: developers
Priority: low Milestone: Bugs Paradise
Component: kernel Version: Kamikaze trunk
Keywords: Cc:

Description

While experimenting with the broadcom driver 4.80 in the old White-Russian tree (http://forum.openwrt.org/viewtopic.php?pid=47293#p47293) I encountered a problem with the compatibility layer.

Using the patch above results in a kernel oops when triggering "iwlist scan".

The origin of the problem is a wrong wl_bss_info_t structure definition, which is not the case in Kamikaze of course.

However, I do not really understand the arithmetic operations while iterating of the list in wlcompat.c.

Using the attached patch fixes the problem in white russian and seems a lot safer for me, but maybe I am missing something.

Attachments (1)

wlcompat-iterate.patch (563 bytes) - added by anonymous 10 years ago.
Patch against wlcompat.c in kamikaze-head

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by anonymous

Patch against wlcompat.c in kamikaze-head

comment:1 Changed 10 years ago by blogic

  • Milestone set to Kamikaze Bugs Paradize

comment:2 Changed 8 years ago by thepeople

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to Kamikaze trunk

I have not had any oops from kamikaze from iwlist scan, whiterussian is eol and it won't get fixed.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.