summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.ninka.net>2003-04-19 10:25:42 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-04-19 10:25:42 -0700
commit8a7cd77d1eb8f27cec0a269037b94d869dfc4cd0 (patch)
treeb042837036bc4ec631a02782f76997c8de915ee5 /include/net
parent9a16a6f26e01d027e753c34b617ab0d31ac9de3b (diff)
[PKT_SCHED]: Proper module refcounting for packet classifiers.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/pkt_cls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index cb2bde236bdb..887987f4ba91 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -39,6 +39,8 @@ struct tcf_walker
int (*fn)(struct tcf_proto *, unsigned long node, struct tcf_walker *);
};
+struct module;
+
struct tcf_proto_ops
{
struct tcf_proto_ops *next;
@@ -56,6 +58,8 @@ struct tcf_proto_ops
/* rtnetlink specific */
int (*dump)(struct tcf_proto*, unsigned long, struct sk_buff *skb, struct tcmsg*);
+
+ struct module *owner;
};
/* Main classifier routine: scans classifier chain attached