Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 561252 | Differences between
and this patch

Collapse All | Expand All

(-)vsock-only/linux/af_vsock.c.orig (-1 / +3 lines)
Lines 2826-2832 Link Here
2826
    * network namespace, and the option to zero the sock was dropped.
2826
    * network namespace, and the option to zero the sock was dropped.
2827
    *
2827
    *
2828
    */
2828
    */
2829
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
2829
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
2830
     sk = sk_alloc(net, vsockVmciFamilyOps.family, priority, &vsockVmciProto, 1);
2831
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
2830
   sk = sk_alloc(vsockVmciFamilyOps.family, priority,
2832
   sk = sk_alloc(vsockVmciFamilyOps.family, priority,
2831
                 vsockVmciProto.slab_obj_size, vsockVmciProto.slab);
2833
                 vsockVmciProto.slab_obj_size, vsockVmciProto.slab);
2832
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
2834
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)

Return to bug 561252