]> git.baikalelectronics.ru Git - kernel.git/commit
sched: have stub for tcf_destroy_chain in case NET_CLS is not configured
authorJiri Pirko <jiri@mellanox.com>
Wed, 15 Feb 2017 10:57:50 +0000 (11:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 17:22:48 +0000 (12:22 -0500)
commitc16e8e2134ba11398f40f438fa7921f508a19574
tree75be4cf4bd229eaf5976649622e6b2c6fb6d231c
parent2618ae84c76e50fc7c2fa40fcda3031bb1da117f
sched: have stub for tcf_destroy_chain in case NET_CLS is not configured

This fixes broken build for !NET_CLS:

net/built-in.o: In function `fq_codel_destroy':
/home/sab/linux/net-next/net/sched/sch_fq_codel.c:468: undefined reference to `tcf_destroy_chain'

Fixes: 82b81b84dd2e ("sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_api")
Reported-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Tested-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h