Re: [PATCH 1/3] Close l2_packet socket after getting own MAC address

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

 



On 1/6/20 9:36 PM, Jouni Malinen wrote:
On Mon, Jan 06, 2020 at 04:21:05PM +0100, Markus Theil wrote:
wpa_supplicant now uses the l2_packet socket only to obtain the local
device MAC address. Future patches may split this out.
This cannot be done before patch 2/3 and based on the test failure I
noticed with wpas_ctrl_ipaddr, it looks like this change cannot really
be done even with patch 2/3. It looks like it is safe to leave the
l2_packet socket open even if EAPOL RX happens through driver_nl80211,
but I guess it would save some resources if this would not be needed.
Anyway, the more critical issue is in getting patch 2/3 into a state
where it does not break any of the test cases.
Ok, then I drop this patch for now and try to get 2/3 to work in all test cases. Leaving the l2 socket open should do no harm in my opinion. After 2/3 works, I may add some helper functions for getting IP addresses and MAC addresses without leaving the socket permanently open, but getting patch 2 in a working state has of course higher priority.

Markus

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



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

  Powered by Linux