Hello, netdev,
I try, in vain, to understand what is DST_NOHASH for.
I looked for DST_NOHASH under the linux source tree (http://lxr.linux.no/source)
and found that it appears in 4 files:
1) in include/net/dst.h (just defined there, #define DST_NOHASH 8)
2)
in xfrm4_policy.c:
static int
__xfrm4_bundle_create()
{
...
...
dst1->flags |= DST_NOHASH;
...
...
}
3) in net/core/dst.c:
struct dst_entry *dst_destroy(struct dst_entry * dst)
{
...
...
int nohash = dst->flags & DST_NOHASH;
...
...
}
4) in Linux/net/ipv6/xfrm6_policy.c
__xfrm6_bundle_create()
{
...
...
else {
dst_prev->child = dst1;
dst1->flags |= DST_NOHASH;
...
...
}
We see here a definition and 3 places with assignment ; So I don't
understand what is the DST_NOHASH flag for ?
It seems to me that it has to do with IPSec transformers routing tables entires
but again, it seems that this flag is not accessed
(except for assigning this flag).
I would appreciate of anybody will say some words about this flag and its
usage (maybe it is redundant and should be removed?)
Regards,
Ian
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html