On Wed, Oct 25, 2017 at 7:03 AM, David Miller <da...@davemloft.net> wrote: > > > diff --git a/include/net/xfrm.h b/include/net/xfrm.h > index f002a2c5e33c..4fa951112873 100644 > --- a/include/net/xfrm.h > +++ b/include/net/xfrm.h > @@ -994,6 +994,15 @@ struct xfrm_dst { > }; > > #ifdef CONFIG_XFRM
Perhaps the new xfrm_dst_child() code needs to go before this #ifdef? sln > > +static inline struct dst_entry *xfrm_dst_child(const struct dst_entry *dst) > +{ > +#ifdef CONFIG_XFRM > + if (dst->xfrm) > + return dst->child; > +#endif > + return NULL; > +} > + -- ============================================== Mr. Shannon Nelson Parents can't afford to be squeamish.