Re: minor array overflow in ifconfig set80211chanlist()

2016-05-16 Thread Andriy Voskoboinyk
Mon, 16 May 2016 22:42:50 +0300 було написано Don Lewis : I asked adrian@ privately and he sent me here ... Coverity is complaining about an array overflow in set80211chanlist(). The code in question is: if (first > IEEE80211_CHAN_MAX)

Re: minor array overflow in ifconfig set80211chanlist()

2016-05-16 Thread Adrian Chadd
On 16 May 2016 at 15:05, Andriy Voskoboinyk wrote: > Tue, 17 May 2016 01:03:03 +0300 було написано Adrian Chadd > : > >> Heh, god, it's used for both maximum ieee channel number /and/ the >> array size? we should eventually fix that; 11ac channels will

Re: minor array overflow in ifconfig set80211chanlist()

2016-05-16 Thread Andriy Voskoboinyk
Tue, 17 May 2016 01:03:03 +0300 було написано Adrian Chadd : Heh, god, it's used for both maximum ieee channel number /and/ the array size? we should eventually fix that; 11ac channels will likely overflow all of the above. :( No (yes) :) I mean ic->ic_nchans and

minor array overflow in ifconfig set80211chanlist()

2016-05-16 Thread Don Lewis
I asked adrian@ privately and he sent me here ... Coverity is complaining about an array overflow in set80211chanlist(). The code in question is: if (first > IEEE80211_CHAN_MAX) errx(-1, "channel %u out of range, max %u",

Re: minor array overflow in ifconfig set80211chanlist()

2016-05-16 Thread Adrian Chadd
Heh, god, it's used for both maximum ieee channel number /and/ the array size? we should eventually fix that; 11ac channels will likely overflow all of the above. :( -a ___ freebsd-wireless@freebsd.org mailing list

Re: Kernel Panic with Atheros Card (TP-LINK N900)

2016-05-16 Thread Adrian Chadd
hi, You'll need to update the whole system. No-one currently keeps the stable branches up to date with all the wifi changes / fixes we put into -HEAD. -adrian On 16 May 2016 at 18:47, Jason Morgan wrote: > Thank you, Adrian. Do I need to upgrade the whole system or

Re: Kernel Panic with Atheros Card (TP-LINK N900)

2016-05-16 Thread Adrian Chadd
Hi, I think I've fixed this in head. Would you mind testing that out? Thanks! A On May 16, 2016 6:40 PM, "Jason Morgan" wrote: > Dear List, > > I am experiencing multiple kernel panics a day and I believe it's > related to a Atheros card I recently installed. Here is

Re: Kernel Panic with Atheros Card (TP-LINK N900)

2016-05-16 Thread Jason Morgan
Ok. Thank you. And thanks for the quick response. On May 16, 2016 10:16 PM, "Adrian Chadd" wrote: > hi, > > You'll need to update the whole system. No-one currently keeps the > stable branches up to date with all the wifi changes / fixes we put > into -HEAD. > > > > -adrian >

Kernel Panic with Atheros Card (TP-LINK N900)

2016-05-16 Thread Jason Morgan
Dear List, I am experiencing multiple kernel panics a day and I believe it's related to a Atheros card I recently installed. Here is some detail I got from dmesg after the last panic. ... ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck

Re: Kernel Panic with Atheros Card (TP-LINK N900)

2016-05-16 Thread Jason Morgan
Thank you, Adrian. Do I need to upgrade the whole system or just the driver? I was hoping to keep the system on RELEASE. On May 16, 2016 9:44 PM, "Adrian Chadd" wrote: > Hi, > > I think I've fixed this in head. Would you mind testing that out? > > Thanks! > > A > On May 16,

Re: rtwn(0) panics with RTL8188CE

2016-05-16 Thread Marcus von Appen
On, Mon May 16, 2016, Marcus von Appen wrote: [...] this one seems to provide some more information. I have no idea, if both crash types are related or not. Unread portion of the kernel message buffer: rtwn0: can't map mbuf (error 12) panic: Duplicate free of 0xf800c94c1300 from zone

Re: rtwn(0) panics with RTL8188CE

2016-05-16 Thread Andriy Voskoboinyk
Mon, 16 May 2016 12:35:35 +0300 було написано Marcus von Appen : m_freem() at m_freem+0x38/frame 0xfe04535f5810 There is double free in xmit path; I will fix it soon. ___ freebsd-wireless@freebsd.org mailing list