]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sctp/sysctl.c
[PATCH] svcrpc: gss: server context init failure handling
[karo-tx-linux.git] / net / sctp / sysctl.c
index dc4893474f186e68b93225cdba82ba71000f9831..fcd7096c953d5d5698b3ce456f3512915b66c304 100644 (file)
@@ -42,6 +42,7 @@
  */
 
 #include <net/sctp/structs.h>
+#include <net/sctp/sctp.h>
 #include <linux/sysctl.h>
 
 static ctl_handler sctp_sysctl_jiffies_ms;
@@ -119,6 +120,14 @@ static ctl_table sctp_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
+       {
+               .ctl_name       = NET_SCTP_RCVBUF_POLICY,
+               .procname       = "rcvbuf_policy",
+               .data           = &sctp_rcvbuf_policy,
+               .maxlen         = sizeof(int),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec
+       },
        {
                .ctl_name       = NET_SCTP_PATH_MAX_RETRANS,
                .procname       = "path_max_retrans",