[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071114.193949.26706514.davem@davemloft.net>
Date: Wed, 14 Nov 2007 19:39:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: drepper@...hat.com, netdev@...r.kernel.org
Subject: Re: network interface state
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 15 Nov 2007 10:11:35 +0800
> David Miller <davem@...emloft.net> wrote:
> >
> >> BTW, is it possible to send both these requests out before starting to
> >> read the results? This would reduce the amount of code quite a bit.
> >
> > Unfortunately, that won't work. Like datagram protocols,
> > netlink assumes one message per sendmsg() call.
>
> Actually netlink packets come with headers so we do allow chaining.
> See netlink_rcv_skb for details.
My bad, you are indeed right.
Ulrich you can therefore send both messages in one go if you
like.
-
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