netdev
[Top] [All Lists]

Re: xfrm_user.c doesn't use NLMSG_F_MULTI

To: laforge@xxxxxxxxxxxx (Harald Welte)
Subject: Re: xfrm_user.c doesn't use NLMSG_F_MULTI
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Oct 2004 19:52:54 +1000
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20041013080705.GB3387@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686))
Harald Welte <laforge@xxxxxxxxxxxx> wrote:
> 
> If I send a GETSA with NLM_F_DUMP message from userspace, I receive a
> batch of SA messages, but they apparently don't have the F_MULTI flag
> set. 
> 
> Aren't they (all but the last msg) supposed to have the usual F_MULTI ?
> Is this by intention or a mistake?

The documentation says so but none of the existing users really care.
The doco also says that the DONE message shouldn't have F_MULTI set
but it does :)

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>