Re: [PATCH net v2] packet: on direct_xmit, limit tso and csum to supported devices

2016-10-29 Thread David Miller
From: Willem de Bruijn Date: Wed, 26 Oct 2016 11:23:07 -0400 > From: Willem de Bruijn > > When transmitting on a packet socket with PACKET_VNET_HDR and > PACKET_QDISC_BYPASS, validate device support for features requested > in vnet_hdr. > > Drop TSO packets sent to devices that do not support

Re: [PATCH net v2] packet: on direct_xmit, limit tso and csum to supported devices

2016-10-26 Thread Daniel Borkmann
On 10/26/2016 05:23 PM, Willem de Bruijn wrote: From: Willem de Bruijn When transmitting on a packet socket with PACKET_VNET_HDR and PACKET_QDISC_BYPASS, validate device support for features requested in vnet_hdr. Drop TSO packets sent to devices that do not support TSO or have the feature dis

Re: [PATCH net v2] packet: on direct_xmit, limit tso and csum to supported devices

2016-10-26 Thread Eric Dumazet
On Wed, 2016-10-26 at 11:23 -0400, Willem de Bruijn wrote: > From: Willem de Bruijn > > When transmitting on a packet socket with PACKET_VNET_HDR and > PACKET_QDISC_BYPASS, validate device support for features requested > in vnet_hdr. Acked-by: Eric Dumazet

[PATCH net v2] packet: on direct_xmit, limit tso and csum to supported devices

2016-10-26 Thread Willem de Bruijn
From: Willem de Bruijn When transmitting on a packet socket with PACKET_VNET_HDR and PACKET_QDISC_BYPASS, validate device support for features requested in vnet_hdr. Drop TSO packets sent to devices that do not support TSO or have the feature disabled. Note that the latter currently do process t