Hi, On Wed, Apr 17, 2013 at 10:17 PM, Patrick McHardy <kaber@xxxxxxxxx> wrote: > > Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx> > --- > include/linux/netfilter/nfnetlink.h | 2 ++ > net/netfilter/nfnetlink.c | 7 +++++++ > net/netfilter/nfnetlink_log.c | 10 ++++++---- > net/netfilter/nfnetlink_queue_core.c | 3 ++- > 4 files changed, 17 insertions(+), 5 deletions(-) > > diff --git a/net/netfilter/nfnetlink_queue_core.c b/net/netfilter/nfnetlink_queue_core.c > index 5e280b3..ef3cdb4 100644 > --- a/net/netfilter/nfnetlink_queue_core.c > +++ b/net/netfilter/nfnetlink_queue_core.c > @@ -339,7 +339,8 @@ nfqnl_build_packet_message(struct nfqnl_instance *queue, > if (queue->flags & NFQA_CFG_F_CONNTRACK) > ct = nfqnl_ct_get(entskb, &size, &ctinfo); > > - skb = alloc_skb(size, GFP_ATOMIC); > + skb = nfnetlink_alloc_skb(&init_net, size, queue->peer_portid, > + GFP_ATOMIC); > if (!skb) > return NULL; > does this mean that we have a true zero copy support with Eric D's patch (nfnetlink_queue: zero-copy support) and this patch ? Rgds, Nishit Shah. -- 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