On Tue, Oct 9, 2018 at 2:26 PM Davide Caratti <dcara...@redhat.com> wrote: > --- a/net/sched/sch_api.c > +++ b/net/sched/sch_api.c > @@ -1322,6 +1322,7 @@ const struct nla_policy rtm_tca_policy[TCA_MAX + 1] = { > [TCA_INGRESS_BLOCK] = { .type = NLA_U32 }, > [TCA_EGRESS_BLOCK] = { .type = NLA_U32 }, > }; > +EXPORT_SYMBOL(rtm_tca_policy);
cls_api.c is not a module, so you don't need to export it.