command for creating virtual interface

Jithu Jance jithujance at gmail.com
Mon Nov 24 05:38:23 EST 2014


On Mon, Nov 24, 2014 at 2:11 AM, Jouni Malinen <j at w1.fi> wrote:
>> Can some additional checks help to address the safety concern? Like
>> for e.g, adding code to remove the externally added interfaces in case
>> of a terminate signal.
>
> Merging interface_create to interface_add could likely address the
> concern by recording the added interface to the new driver_nl80211 data
> structures related to the new interface rather than the one through
> which it was added. interface_del case would be even clearer since there
> would be no command for removing an arbitrary netdev, but it would
> always be through interface_remove that would remove state from both
> driver_nl80211 and core wpa_supplicant for the dynamically added
> interface.


Thanks Jouni for inputs!! I will post a patch after integrating
interface_create,
interface_del functionality to interface_add, interface_remove respectively.



- Jithu Jance


More information about the HostAP mailing list