Looks like some terrible vendor made random backports that aren't a part of kernel.org's sock.h: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/net/sock.h?h=linux-3.10.y Apply this to your kernel, and things _might_ work without exploding: https://xn--4db.cc/AGC0Ssj6/diff