Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358931 > unrolled thread

Re: Regression: netlink fail (triggered by iw) removes extra wlan (phy) interface

Started byRafał Miłecki <zajec5@gmail.com>
First post2016-03-16 13:10 +0100
Last post2016-03-16 13:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Regression: netlink fail (triggered by iw) removes extra wlan  (phy) interface Rafał Miłecki <zajec5@gmail.com> - 2016-03-16 13:10 +0100

#1358931 — Re: Regression: netlink fail (triggered by iw) removes extra wlan (phy) interface

FromRafał Miłecki <zajec5@gmail.com>
Date2016-03-16 13:10 +0100
SubjectRe: Regression: netlink fail (triggered by iw) removes extra wlan (phy) interface
Message-ID<rdir0-kr-19@gated-at.bofh.it>
On 25 February 2016 at 14:22, Rafał Miłecki <zajec5@gmail.com> wrote:
> After updating kernel in OpenWrt from 4.1.6 to 4.1.10 I noticed that
> if "iw" command fails (which happens very rarely) my wlan0-1 interface
> disappears. To trigger this problem easily I'm using this trivial
> script:
> while [ 1 ]
> do
>         iw phy phy0 interface add mon0 type monitor
>         ifconfig mon0 up
>         iw dev mon0 del
> done
>
> Whenever it goes wrong I see:
> Failed to connect to generic netlink.
> kern.info kernel: [ 1933.114338] br-lan: port 3(wlan0-1) entered disabled state
> kern.info kernel: [ 1933.335568] device wlan0-1 left promiscuous mode
> kern.info kernel: [ 1933.340385] br-lan: port 3(wlan0-1) entered disabled state
> daemon.notice netifd: Network device 'wlan0-1' link is down
> command failed: Too many open files in system (-23)
>
> This regression is caused by commit:
> 4e27762 netlink: Fix autobind race condition that leads to zero port ID
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=4e27762417669cb459971635be550eb7b5598286
> that is a backport of upstream:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1f770c0a09da855a2b51af6d19de97fb955eca85
>
> This still happens with kernel 4.4.
>
> My hardware is Linksys WRT160NL (Atheros AR9130 SoC) and I'm using two
> __ap interfaces on phy0 (wlan0 and wlan0-1).
>
> Could you take a look at this?
> Is there some additional info I could provide to help fixing this?

Ping?

-- 
Rafał

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web