diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index f9179e0..45bfe9f 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -317,6 +317,8 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) if (n->nlmsg_type == RTM_DELTFILTER && t->tcm_handle == 0) { struct tcf_proto *next = rtnl_dereference(tp->next); + printk(KERN_ERR "DEBUGG:SK delete filter by: %pf\n", tp->ops->get); + RCU_INIT_POINTER(*back, next); tfilter_notify(net, skb, n, tp, fh, @@ -370,6 +372,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) n->nlmsg_flags & NLM_F_CREATE ? TCA_ACT_NOREPLACE : TCA_ACT_REPLACE); if (err == 0) { if (tp_created) { + printk(KERN_ERR "DEBUGG:SK add/change filter by: %pf\n", tp->ops->change); RCU_INIT_POINTER(tp->next, rtnl_dereference(*back)); rcu_assign_pointer(*back, tp); }