Re: [PATCH v1] net: WireGuard secure network tunnel

From: Jason A. Donenfeld
Date: Fri Nov 29 2019 - 06:47:56 EST


On Fri, Nov 29, 2019 at 7:27 AM David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> From: "Jason A. Donenfeld" <Jason@xxxxxxxxx>
> Date: Fri, 29 Nov 2019 04:32:05 +0100
>
> > I'm not a huge fan of doing manual skb surgery either. The annoying
> > thing here is that skb_gso_segment returns a list of skbs that's
> > terminated by the last one's next pointer being NULL. I assume it's this
> > way so that the GSO code doesn't have to pass a head around.
>
> Sorry, I missed that this was processing a GSO list which doesn't use
> double linked list semantics.
>
> So ignore my feedback on this one :-)

Okay, no problem. I'll submit some global tree-wide cleanup patches in
the way of a helper macro sometime after all the wireguard dust
settles, then, and we can assess that separately.