Re: [PATCH net] net: test nouarg before dereferencing zerocopy pointers

2019-05-16 Thread David Miller
From: Willem de Bruijn Date: Wed, 15 May 2019 13:29:16 -0400 > From: Willem de Bruijn > > Zerocopy skbs without completion notification were added for packet > sockets with PACKET_TX_RING user buffers. Those signal completion > through the TP_STATUS_USER bit in the ring. Zerocopy annotation was

[PATCH net] net: test nouarg before dereferencing zerocopy pointers

2019-05-15 Thread Willem de Bruijn
From: Willem de Bruijn Zerocopy skbs without completion notification were added for packet sockets with PACKET_TX_RING user buffers. Those signal completion through the TP_STATUS_USER bit in the ring. Zerocopy annotation was added only to avoid premature notification after clone or orphan, by tri