[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071025090609.GD8125@postel.suug.ch>
Date: Thu, 25 Oct 2007 11:06:09 +0200
From: Thomas Graf <tgraf@...g.ch>
To: Dan Williams <dcbw@...hat.com>
Cc: "Denis V. Lunev" <den@...ru>, netdev@...r.kernel.org,
"Denis V. Lunev" <den@...nvz.org>,
"David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>
Subject: Re: Regression in current git - Network Manager fails (bisected)
* Dan Williams <dcbw@...hat.com> 2007-10-23 10:10
> Should I make NM disable ACKs for now until it gets fixed?
The reason libnl enables ACKs by default is to give the
application using it clear synchronisation points. For
change requests that means the interface function won't
return until the change has been commited as it will
call nl_wait_for_ack(). So if you disable it in NM and
run it on "old" kernels still using async netlink you
won't be sure when the change is actually being done so
this might break things if you rely on it.
I think providing a invalid message handler which returns
NL_OK if nlmsg_type is NLMSG_DONE or NLMSG_ERROR && err == 0
would be better if you need some kind of workaround. As
those messages are always last this should never cause
real troubles.
-
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