[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SO_REUSEPORT in wheezy backport kernel



On Tue, Jun 09, 2015 at 02:39:12PM +0200, basti wrote:
> Hello @all,
> 
> i have try to use nginx 1.9.1 with SO_REUSEPORT.
> 
> I have installed kernel 3.16 (3.16.0-0.bpo.4-amd64) from backports and 
> linux-libc-dev (3.16.7-ckt9-3~deb8u1~bpo70+1) but no SO_REUSEPORT is
> avalibile.
> 
> So i try to recompile the kernel but in menuconfig i cant find anythink
> about SO_REUSEPORT.

Linux kernel has SO_REUSEPORT support since version 3.9. But it's not
configurable, it's always-on. See [1].

But kernel support is not enough, as SO_REUSEPORT should be mentioned in
kernel headers provided by linux-libc-dev (I'm assuming that you try to
build nginx from the source). Hence, per [2] - install linux-libc-dev
from the backports too.

[1]
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c617f398edd4db2b8567a28e899a88f8f574798d

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779085

Reco


Reply to: