tipc: add trace_events for tipc socket
[linux-2.6-block.git] / net / tipc / sysctl.c
index 1a779b1e85100b501c1f0cde29cbfaa0d98fb4eb..3481e4906bd6a4a3e1f27ec5d49106090c7ec7f1 100644 (file)
@@ -34,6 +34,7 @@
  */
 
 #include "core.h"
+#include "trace.h"
 
 #include <linux/sysctl.h>
 
@@ -54,6 +55,13 @@ static struct ctl_table tipc_table[] = {
                .mode           = 0644,
                .proc_handler   = proc_dointvec,
        },
+       {
+               .procname       = "sk_filter",
+               .data           = &sysctl_tipc_sk_filter,
+               .maxlen         = sizeof(sysctl_tipc_sk_filter),
+               .mode           = 0644,
+               .proc_handler   = proc_doulongvec_minmax,
+       },
        {}
 };