Search Linux Wireless

Re: NL80211_CMD_GET_WIPHY reply doesn't fit into nl message buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-09-29 at 13:38 +0200, Jiri Slaby wrote:
> On 09/29/2008 12:25 PM, Johannes Berg wrote:
> > Jiri, can you tell me what happens with iw? iw phy phy0 info or
> > something.
> 
> [iw from v0.9.5-1-ged69ad9]
> # ./iw phy phy0 info
> command failed: No buffer space available (-105)
> 
> as expected :). It depends only on how nl80211_send_wiphy() is written (the msg
> doesn't fit into NLMSG_GOODSIZE).

Yes, I just wanted to confirm that the code there fails. I'm hunting a
strange bug in the hostapd code now, but other than that my patch (plus
a bunch of fixes) appears to work and reduce code size.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux