diff options
Diffstat (limited to 'net')
| -rw-r--r-- | net/core/sysctl_net_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index 7a31be5e361f..eaa51ddf2368 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c | |||
| @@ -52,7 +52,7 @@ static int rps_sock_flow_sysctl(struct ctl_table *table, int write, | |||
| 52 | 52 | ||
| 53 | if (write) { | 53 | if (write) { |
| 54 | if (size) { | 54 | if (size) { |
| 55 | if (size > 1<<30) { | 55 | if (size > 1<<29) { |
| 56 | /* Enforce limit to prevent overflow */ | 56 | /* Enforce limit to prevent overflow */ |
| 57 | mutex_unlock(&sock_flow_mutex); | 57 | mutex_unlock(&sock_flow_mutex); |
| 58 | return -EINVAL; | 58 | return -EINVAL; |
