Search Linux Wireless

Re: [PATCH] mac80211: clear lower drv private data on iface removal

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

 



On Thu, Nov 8, 2012 at 2:43 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Thu, 2012-11-08 at 14:37 +0200, Arik Nemtsov wrote:
>> The lower driver might rely on getting zeroed per-vif private memory
>> when an interface is added. Resetting the memory on removal avoids
>> adverse affects during recovery, where the interface is added without
>> being removed.
>
> However, it means that data isn't stable across suspend/resume, which
> could be desirable to the driver as it may want to have the same
> configuration after resuming.
>
> I think we should therefore leave this to the driver, it's obviously
> easily implemented as the last step of the driver's ->remove_interface()
>

Agreed.
--
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