Re: [PATCH net] net: correct udp zerocopy refcnt also when zerocopy only on append

2019-06-11 Thread David Miller
From: Willem de Bruijn Date: Fri, 7 Jun 2019 17:57:48 -0400 > From: Willem de Bruijn > > The below patch fixes an incorrect zerocopy refcnt increment when > appending with MSG_MORE to an existing zerocopy udp skb. > > send(.., MSG_ZEROCOPY | MSG_MORE); // refcnt 1 > send(.., MSG_ZEROCOPY

[PATCH net] net: correct udp zerocopy refcnt also when zerocopy only on append

2019-06-07 Thread Willem de Bruijn
From: Willem de Bruijn The below patch fixes an incorrect zerocopy refcnt increment when appending with MSG_MORE to an existing zerocopy udp skb. send(.., MSG_ZEROCOPY | MSG_MORE);// refcnt 1 send(.., MSG_ZEROCOPY | MSG_MORE);// refcnt still 1 (bar frags) But it missed that zerocopy