[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKfDRXih39RVnx1P72due=_v9-ORWf=YUfUTPKcvVbNzVuTLdw@mail.gmail.com>
Date: Fri, 20 Apr 2012 16:07:42 +0200
From: Kristian Evensen <kristian.evensen@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: Ben Greear <greearb@...delatech.com>, netdev@...r.kernel.org
Subject: Re: RTM_NEWLINK not received by application when connecting multiple
devices simultaneously
Thank you very much for all the help.
>> I spent some more time debugging this now. It turns out that which
>> interface is seen by my application is not random, it is always the
>> first one that is connected. This indicates that the bug is that the
>> netlink message contains information about more than one interface.
>> However, I am not able to prove this.
>
> There is no filtering. A dump request always returns all interfaces.
I think maybe I didnt explain myself clearly enough, I am sorry. This
does not happen when I dump interface info, but at the event of
connecting two interfaces at the same time.
I have now converted the application to using libmnl, but I still see
the same error. There is one message that is not received by my
netlink socket, or at least, the application does not process it. Just
in case it was bundled together with the message about the first
interface, I tried adding a loop where I received the packets (similar
to the one in the -dump example). However, this did not help.
-Kristian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists