Linux wireless drivers development
 help / color / mirror / Atom feed
* iw: hanging when doing station or mpath dump
@ 2008-10-24 21:32 Andrey Yurovsky
  2008-10-24 23:11 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Yurovsky @ 2008-10-24 21:32 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg

We noticed that iw hangs after running "station dump" or "mpath dump"
commands.  The expected output is displayed before the hang.  For
example:

# iw dev mesh station dump

...will display stations (if any) and then hang until iw is killed.
According to strace, iw is waiting on the netlink socket like this:

recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0C\256\2I\27\20\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 20
recvmsg(3,

...which never returns.  This seems to be a somewhat recent regression
but we haven't had a chance to look more closely into it so I'm
mentioning it here in case someone has an idea of what could have gone
wrong.  Thanks,

  -Andrey

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

* Re: iw: hanging when doing station or mpath dump
  2008-10-24 21:32 iw: hanging when doing station or mpath dump Andrey Yurovsky
@ 2008-10-24 23:11 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-10-24 23:11 UTC (permalink / raw)
  To: Andrey Yurovsky; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

On Fri, 2008-10-24 at 14:32 -0700, Andrey Yurovsky wrote:

> ...which never returns.  This seems to be a somewhat recent regression
> but we haven't had a chance to look more closely into it so I'm
> mentioning it here in case someone has an idea of what could have gone
> wrong.  Thanks,

I _just_ fixed this a few hours ago.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24 21:32 iw: hanging when doing station or mpath dump Andrey Yurovsky
2008-10-24 23:11 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox