Search Linux Wireless

Re: Wireless netlink events delivered out-of-order

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

 



Hi Adar,

> I asked this question on the linux-wireless IRC channel last week but I don't think anyone was around at the time, so here it is over e-mail.
> 
> We have a userlevel application that uses a netlink socket to figure out when networking interfaces on the system go up or down. It does so by looking at all RTM_NEWLINK messages that arrive on the socket and examining their ifi_flags fields. We interpret the presence of both IFF_UP and IFF_RUNNING to mean that an interface has gone up, while the lack thereof to mean that an interface is down.

I would look for IFF_LOWER_UP actually. Using only IFF_RUNNING is a
pretty bad idea.

Regards

Marcel


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