Search Linux Wireless

Re: [PATCH] hostapd: nl80211 retry creating a interface if it fails the first time.

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

 



On Fri, May 15, 2009 at 12:36:08PM +0200, Karl Hiramoto wrote:
> If hostapd segfaults, or is killed with -9, or the interface already exists, when the interface is created, it will fail.

> This patch solves this issue.

Thanks, applied with a change to do this only on ENFILE errors which is
the errno used by __dev_alloc_name() in this particular case where
mac80211 fails to add an interface due to the interface being there
already.

-- 
Jouni Malinen                                            PGP id EFC895FA
--
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 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