Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
This patch includes building of the kernel rpm's for the commit id
[kvmfornfv.git]
/
kernel
/
net
/
core
/
sysctl_net_core.c
diff --git
a/kernel/net/core/sysctl_net_core.c
b/kernel/net/core/sysctl_net_core.c
index
95b6139
..
a6beb7b
100644
(file)
--- a/
kernel/net/core/sysctl_net_core.c
+++ b/
kernel/net/core/sysctl_net_core.c
@@
-26,6
+26,7
@@
static int zero = 0;
static int one = 1;
static int min_sndbuf = SOCK_MIN_SNDBUF;
static int min_rcvbuf = SOCK_MIN_RCVBUF;
static int one = 1;
static int min_sndbuf = SOCK_MIN_SNDBUF;
static int min_rcvbuf = SOCK_MIN_RCVBUF;
+static int max_skb_frags = MAX_SKB_FRAGS;
static int net_msg_warn; /* Unused, but still a sysctl */
static int net_msg_warn; /* Unused, but still a sysctl */
@@
-392,6
+393,15
@@
static struct ctl_table net_core_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec
},
.mode = 0644,
.proc_handler = proc_dointvec
},
+ {
+ .procname = "max_skb_frags",
+ .data = &sysctl_max_skb_frags,
+ .maxlen = sizeof(int),
+ .mode = 0644,
+ .proc_handler = proc_dointvec_minmax,
+ .extra1 = &one,
+ .extra2 = &max_skb_frags,
+ },
{ }
};
{ }
};