lkml.org 
[lkml]   [2021]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectIPSec questions and comments
<herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Bcc:
Subject: IPSec questions
Reply-To: minyard@acm.org

I've been going through the XFRM code trying to understand it. I've
been documenting things in the code as I go.

I have a specific usage question, then a general question:

1) In struct xfrm_dst, what is the difference between the route and path
fields? From what I can tell, in the first element of a bundle they
will both point the route the packet will take after it has been
transformed. In the other elements of a bundle, route is the same as in
the first element and path will be NULL. Is this really the intent?
Can path just be eliminated?

2) This code is really hard to understand. Nobody should have to go
through what I'm going through. If I can convince my employer to allow
me to submit the comments I'm adding, would that be something acceptable?
It would obviously take a lot of time to review. If nobody's going to
have the time to review it, I don't need to put forth the extra effort
to make it submittable.

Thanks,

-corey

\
 
 \ /
  Last update: 2021-07-24 03:01    [W:0.046 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site