net: fix regression introduced in 2.6.32.62 by sysctl fixes
authorWilly Tarreau <w@1wt.eu>
Sat, 14 Jun 2014 18:54:17 +0000 (20:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 18 Jun 2014 22:26:00 +0000 (00:26 +0200)
commitb90422defca0edf97b3524248e239345debaf2fd
treea57f4971029f4f953a1cc8fc3d0603c9163d4263
parenta986d9c350c41fbb56b75d9da04a9725a044454a
net: fix regression introduced in 2.6.32.62 by sysctl fixes

Commits b7c9e4ee1 ("sysctl net: Keep tcp_syn_retries inside the boundary")
and eedcafdc ("net: check net.core.somaxconn sysctl values") were missing
a .strategy entry which is still required in 2.6.32. Because of this, the
Ubuntu kernel team has faced kernel dumps during their testing.

Tyler Hicks and Luis Henriques proposed this patch to fix the issue,
which properly sets .strategy as needed in 2.6.32.

Reported-by: Luis Henriques <luis.henriques@canonical.com>
Cc: tyler.hicks@canonical.com
Cc: Michal Tesar <mtesar@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
net/core/sysctl_net_core.c
net/ipv4/sysctl_net_ipv4.c