From: Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> Date: Wed, 21 Jun 2017 17:18:06 -0400 > +struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) > +{ > + struct sk_buff *skb; > + struct ubuf_info *uarg; Reverse christmas tree. > +void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) > +{ > + struct sock_exterr_skb *serr; > + struct sk_buff *skb = skb_from_uarg(uarg); > + struct sock *sk = skb->sk; > + u16 id = uarg->desc; Likewise. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html