Search Linux Wireless

Re: [PATCH] wireless: nl80211: Broadcast CMD_NEW_INTERFACE and CMD_DEL_INTERFACE

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

 



On Thu, 2014-10-30 at 11:14 +0200, Tomasz Bursztyka wrote:
> Hi Johannes,
> 
> > It really bloats the*arguments*  more than anything, no way to change
> > that, say by sending the delete message before the wdev is destroyed?
> 
> You mean building the nlmsg before? (sending it would be wrong if the 
> deletion fails afterwards)

Ah, I didn't realize that it could fail, but yeah, then it'd be
something like

msg = build_message(wdev)
if (delete(wdev) != 0)
  free(msg)
else
  send(msg)

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux