Re: [PATCH 11/14] netlink: add RX/TX-ring support to netlink diag

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

 



On Tuesday 23 April 2013 15:23:39 David Miller wrote:
> > On Wednesday 17 April 2013 18:47:06 Patrick McHardy wrote:
> >> +       mutex_lock(&nlk->pg_vec_lock);
> >> +       ret = sk_diag_put_ring(&nlk->rx_ring, NETLINK_DIAG_RX_RING,
> >> nlskb);
> >> +       if (!ret)
> >> +               ret = sk_diag_put_ring(&nlk->tx_ring,
> >> NETLINK_DIAG_TX_RING,
> >> +                                      nlskb);
> >> +       mutex_unlock(&nlk->pg_vec_lock);
> >
> > 
> >
> > this produces a build-error, if CONFIG_NETLINK_MMAP=n:
> See:
> 
>         http://marc.info/?l=linux-netdev&m=136674481328037&w=2

Ok, I see. He was slightly quicker than me :)

-- 
IP Networking Lab --- http://inl.info.ucl.ac.be
MultiPath TCP in the Linux Kernel --- http://multipath-tcp.org
UCLouvain
--
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux