diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 3c5e29ba65942801682278aed31644454b82c154..f219ff325ed4b816866e46a66c97c6f7724ec81f 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -529,7 +529,7 @@ int tcf_action_dump(struct sk_buff *skb, struct list_head *actions, return err; } -int nla_memdup_cookie(struct tc_action *a, struct nlattr **tb) +static int nla_memdup_cookie(struct tc_action *a, struct nlattr **tb) { a->act_cookie = kzalloc(sizeof(*a->act_cookie), GFP_KERNEL); if (!a->act_cookie)