* [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers
@ 2024-06-06 19:21 joshwash
2024-06-06 21:53 ` Willem de Bruijn
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: joshwash @ 2024-06-06 19:21 UTC (permalink / raw)
To: netdev
Cc: davem, kuba, stable, Joshua Washington, Praveen Kaligineedi,
Harshitha Ramamurthy, Eric Dumazet, Jeroen de Borst,
Shailend Chand, Paolo Abeni, Willem de Bruijn, Rushil Gupta,
Catherine Sullivan, Bailey Forrest, open list
From: Joshua Washington <joshwash@google.com>
TSO currently fails when the skb's gso_type field has more than one bit
set.
TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
virtualization, such as QEMU, a real use-case.
The gso_type and gso_size fields as passed from userspace in
virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
|= SKB_GSO_DODGY to force the packet to enter the software GSO stack
for verification.
This issue might similarly come up when the CWR bit is set in the TCP
header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
to be set.
Fixes: a57e5de476be ("gve: DQO: Add TX path")
Signed-off-by: Joshua Washington <joshwash@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
---
drivers/net/ethernet/google/gve/gve_tx_dqo.c | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/drivers/net/ethernet/google/gve/gve_tx_dqo.c b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
index fe1b26a4d736..04cb43a97c96 100644
--- a/drivers/net/ethernet/google/gve/gve_tx_dqo.c
+++ b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
@@ -555,6 +555,10 @@ static int gve_prep_tso(struct sk_buff *skb)
if (unlikely(skb_shinfo(skb)->gso_size < GVE_TX_MIN_TSO_MSS_DQO))
return -1;
+ /* We only deal with TCP at this point. */
+ if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
+ return -EINVAL;
+
/* Needed because we will modify header. */
err = skb_cow_head(skb, 0);
if (err < 0)
@@ -565,18 +569,10 @@ static int gve_prep_tso(struct sk_buff *skb)
/* Remove payload length from checksum. */
paylen = skb->len - skb_transport_offset(skb);
- switch (skb_shinfo(skb)->gso_type) {
- case SKB_GSO_TCPV4:
- case SKB_GSO_TCPV6:
- csum_replace_by_diff(&tcp->check,
- (__force __wsum)htonl(paylen));
+ csum_replace_by_diff(&tcp->check, (__force __wsum)htonl(paylen));
- /* Compute length of segmentation header. */
- header_len = skb_tcp_all_headers(skb);
- break;
- default:
- return -EINVAL;
- }
+ /* Compute length of segmentation header. */
+ header_len = skb_tcp_all_headers(skb);
if (unlikely(header_len > GVE_TX_MAX_HDR_SIZE_DQO))
return -EINVAL;
--
2.45.1.288.g0e0cd299f1-goog
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-06 19:21 [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers joshwash
@ 2024-06-06 21:53 ` Willem de Bruijn
2024-06-06 22:16 ` Andrei Vagin
2024-06-07 6:09 ` [PATCH net v2] " joshwash
2 siblings, 0 replies; 11+ messages in thread
From: Willem de Bruijn @ 2024-06-06 21:53 UTC (permalink / raw)
To: joshwash, netdev
Cc: davem, kuba, stable, Joshua Washington, Praveen Kaligineedi,
Harshitha Ramamurthy, Eric Dumazet, Jeroen de Borst,
Shailend Chand, Paolo Abeni, Willem de Bruijn, Rushil Gupta,
Catherine Sullivan, Bailey Forrest, open list
joshwash@ wrote:
> From: Joshua Washington <joshwash@google.com>
>
> TSO currently fails when the skb's gso_type field has more than one bit
> set.
>
> TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
> few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
> virtualization, such as QEMU, a real use-case.
>
> The gso_type and gso_size fields as passed from userspace in
> virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
> |= SKB_GSO_DODGY to force the packet to enter the software GSO stack
> for verification.
>
> This issue might similarly come up when the CWR bit is set in the TCP
> header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
> to be set.
>
> Fixes: a57e5de476be ("gve: DQO: Add TX path")
nit: no empty line
> Signed-off-by: Joshua Washington <joshwash@google.com>
> Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
> Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
> ---
> drivers/net/ethernet/google/gve/gve_tx_dqo.c | 18 +++++++-----------
> 1 file changed, 7 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/net/ethernet/google/gve/gve_tx_dqo.c b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
> index fe1b26a4d736..04cb43a97c96 100644
> --- a/drivers/net/ethernet/google/gve/gve_tx_dqo.c
> +++ b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
> @@ -555,6 +555,10 @@ static int gve_prep_tso(struct sk_buff *skb)
> if (unlikely(skb_shinfo(skb)->gso_size < GVE_TX_MIN_TSO_MSS_DQO))
> return -1;
>
> + /* We only deal with TCP at this point. */
> + if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
> + return -EINVAL;
> +
NETIF_F_TSO and NETIF_F_TSO6 are the only terminal/L4 segmentation
offload types that gve advertises in hw_features. So I think that this
will always be true.
If nothing else, it documents the assumption, so fine to keep.
Careful about comments that just repeat what the code does. More
informative are comments that why non-obvious code exists (where
applicable, which is not here).
> /* Needed because we will modify header. */
> err = skb_cow_head(skb, 0);
> if (err < 0)
> @@ -565,18 +569,10 @@ static int gve_prep_tso(struct sk_buff *skb)
> /* Remove payload length from checksum. */
> paylen = skb->len - skb_transport_offset(skb);
>
> - switch (skb_shinfo(skb)->gso_type) {
> - case SKB_GSO_TCPV4:
> - case SKB_GSO_TCPV6:
> - csum_replace_by_diff(&tcp->check,
> - (__force __wsum)htonl(paylen));
> + csum_replace_by_diff(&tcp->check, (__force __wsum)htonl(paylen));
>
> - /* Compute length of segmentation header. */
> - header_len = skb_tcp_all_headers(skb);
> - break;
> - default:
> - return -EINVAL;
> - }
> + /* Compute length of segmentation header. */
> + header_len = skb_tcp_all_headers(skb);
>
> if (unlikely(header_len > GVE_TX_MAX_HDR_SIZE_DQO))
> return -EINVAL;
> --
> 2.45.1.288.g0e0cd299f1-goog
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-06 19:21 [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers joshwash
2024-06-06 21:53 ` Willem de Bruijn
@ 2024-06-06 22:16 ` Andrei Vagin
2024-06-07 6:09 ` [PATCH net v2] " joshwash
2 siblings, 0 replies; 11+ messages in thread
From: Andrei Vagin @ 2024-06-06 22:16 UTC (permalink / raw)
To: joshwash
Cc: netdev, davem, kuba, stable, Praveen Kaligineedi,
Harshitha Ramamurthy, Eric Dumazet, Jeroen de Borst,
Shailend Chand, Paolo Abeni, Willem de Bruijn, Rushil Gupta,
Catherine Sullivan, Bailey Forrest, open list
On Thu, Jun 6, 2024 at 12:22 PM <joshwash@google.com> wrote:
>
> From: Joshua Washington <joshwash@google.com>
>
> TSO currently fails when the skb's gso_type field has more than one bit
> set.
>
> TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
> few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
> virtualization, such as QEMU, a real use-case.
Here is the bug report where this issue was triggered by gVisor:
https://github.com/google/gvisor/issues/10344
>
> The gso_type and gso_size fields as passed from userspace in
> virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
> |= SKB_GSO_DODGY to force the packet to enter the software GSO stack
> for verification.
>
> This issue might similarly come up when the CWR bit is set in the TCP
> header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
> to be set.
>
> Fixes: a57e5de476be ("gve: DQO: Add TX path")
>
> Signed-off-by: Joshua Washington <joshwash@google.com>
> Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
> Suggested-by: Eric Dumazet <edumazet@google.com>
Acked-by: Andrei Vagin <avagin@gmail.com>
Thanks,
Andrei
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH net v2] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-06 19:21 [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers joshwash
2024-06-06 21:53 ` Willem de Bruijn
2024-06-06 22:16 ` Andrei Vagin
@ 2024-06-07 6:09 ` joshwash
2024-06-07 6:35 ` Eric Dumazet
` (2 more replies)
2 siblings, 3 replies; 11+ messages in thread
From: joshwash @ 2024-06-07 6:09 UTC (permalink / raw)
To: netdev
Cc: davem, kuba, stable, Joshua Washington, Praveen Kaligineedi,
Harshitha Ramamurthy, Willem de Bruijn, Eric Dumazet,
Andrei Vagin, Jeroen de Borst, Shailend Chand, Paolo Abeni,
Rushil Gupta, Bailey Forrest, Catherine Sullivan, open list
From: Joshua Washington <joshwash@google.com>
TSO currently fails when the skb's gso_type field has more than one bit
set.
TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
virtualization, such as QEMU, a real use-case.
The gso_type and gso_size fields as passed from userspace in
virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
|= SKB_GSO_DODGY to force the packet to enter the software GSO stack
for verification.
This issue might similarly come up when the CWR bit is set in the TCP
header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
to be set.
Fixes: a57e5de476be ("gve: DQO: Add TX path")
Signed-off-by: Joshua Washington <joshwash@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
Acked-by: Andrei Vagin <avagin@gmail.com>
---
drivers/net/ethernet/google/gve/gve_tx_dqo.c | 21 +++++---------------
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ethernet/google/gve/gve_tx_dqo.c b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
index fe1b26a4d736..a76b407a981b 100644
--- a/drivers/net/ethernet/google/gve/gve_tx_dqo.c
+++ b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
@@ -551,32 +551,21 @@ static int gve_prep_tso(struct sk_buff *skb)
* - Hypervisor enforces a limit of 9K MTU
* - Kernel will not produce a TSO larger than 64k
*/
-
if (unlikely(skb_shinfo(skb)->gso_size < GVE_TX_MIN_TSO_MSS_DQO))
return -1;
+ if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
+ return -EINVAL;
+
/* Needed because we will modify header. */
err = skb_cow_head(skb, 0);
if (err < 0)
return err;
tcp = tcp_hdr(skb);
-
- /* Remove payload length from checksum. */
paylen = skb->len - skb_transport_offset(skb);
-
- switch (skb_shinfo(skb)->gso_type) {
- case SKB_GSO_TCPV4:
- case SKB_GSO_TCPV6:
- csum_replace_by_diff(&tcp->check,
- (__force __wsum)htonl(paylen));
-
- /* Compute length of segmentation header. */
- header_len = skb_tcp_all_headers(skb);
- break;
- default:
- return -EINVAL;
- }
+ csum_replace_by_diff(&tcp->check, (__force __wsum)htonl(paylen));
+ header_len = skb_tcp_all_headers(skb);
if (unlikely(header_len > GVE_TX_MAX_HDR_SIZE_DQO))
return -EINVAL;
--
2.45.2.505.gda0bf45e8d-goog
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH net v2] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-07 6:09 ` [PATCH net v2] " joshwash
@ 2024-06-07 6:35 ` Eric Dumazet
2024-06-07 14:07 ` Willem de Bruijn
2024-06-10 22:57 ` [PATCH net v3] " joshwash
2 siblings, 0 replies; 11+ messages in thread
From: Eric Dumazet @ 2024-06-07 6:35 UTC (permalink / raw)
To: joshwash
Cc: netdev, davem, kuba, stable, Praveen Kaligineedi,
Harshitha Ramamurthy, Willem de Bruijn, Andrei Vagin,
Jeroen de Borst, Shailend Chand, Paolo Abeni, Rushil Gupta,
Bailey Forrest, Catherine Sullivan, open list
On Fri, Jun 7, 2024 at 8:10 AM <joshwash@google.com> wrote:
>
> From: Joshua Washington <joshwash@google.com>
>
> TSO currently fails when the skb's gso_type field has more than one bit
> set.
>
> TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
> few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
> virtualization, such as QEMU, a real use-case.
>
> The gso_type and gso_size fields as passed from userspace in
> virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
> |= SKB_GSO_DODGY to force the packet to enter the software GSO stack
> for verification.
>
> This issue might similarly come up when the CWR bit is set in the TCP
> header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
> to be set.
>
> Fixes: a57e5de476be ("gve: DQO: Add TX path")
> Signed-off-by: Joshua Washington <joshwash@google.com>
> Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
> Reviewed-by: Willem de Bruijn <willemb@google.com>
> Suggested-by: Eric Dumazet <edumazet@google.com>
> Acked-by: Andrei Vagin <avagin@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH net v2] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-07 6:09 ` [PATCH net v2] " joshwash
2024-06-07 6:35 ` Eric Dumazet
@ 2024-06-07 14:07 ` Willem de Bruijn
2024-06-10 22:57 ` [PATCH net v3] " joshwash
2 siblings, 0 replies; 11+ messages in thread
From: Willem de Bruijn @ 2024-06-07 14:07 UTC (permalink / raw)
To: joshwash, netdev
Cc: davem, kuba, stable, Joshua Washington, Praveen Kaligineedi,
Harshitha Ramamurthy, Willem de Bruijn, Eric Dumazet,
Andrei Vagin, Jeroen de Borst, Shailend Chand, Paolo Abeni,
Rushil Gupta, Bailey Forrest, Catherine Sullivan, open list
joshwash@ wrote:
> From: Joshua Washington <joshwash@google.com>
>
> TSO currently fails when the skb's gso_type field has more than one bit
> set.
>
> TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
> few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
> virtualization, such as QEMU, a real use-case.
>
> The gso_type and gso_size fields as passed from userspace in
> virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
> |= SKB_GSO_DODGY to force the packet to enter the software GSO stack
> for verification.
>
> This issue might similarly come up when the CWR bit is set in the TCP
> header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
> to be set.
>
> Fixes: a57e5de476be ("gve: DQO: Add TX path")
> Signed-off-by: Joshua Washington <joshwash@google.com>
> Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
> Reviewed-by: Willem de Bruijn <willemb@google.com>
> Suggested-by: Eric Dumazet <edumazet@google.com>
> Acked-by: Andrei Vagin <avagin@gmail.com>
I did not mean to ask for a revision. When you send a v2, please do include
a changelog
> ---
> drivers/net/ethernet/google/gve/gve_tx_dqo.c | 21 +++++---------------
> 1 file changed, 5 insertions(+), 16 deletions(-)
>
> diff --git a/drivers/net/ethernet/google/gve/gve_tx_dqo.c b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
> index fe1b26a4d736..a76b407a981b 100644
> --- a/drivers/net/ethernet/google/gve/gve_tx_dqo.c
> +++ b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
> @@ -551,32 +551,21 @@ static int gve_prep_tso(struct sk_buff *skb)
> * - Hypervisor enforces a limit of 9K MTU
> * - Kernel will not produce a TSO larger than 64k
> */
> -
Accidental removal?
> if (unlikely(skb_shinfo(skb)->gso_size < GVE_TX_MIN_TSO_MSS_DQO))
> return -1;
>
> + if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
> + return -EINVAL;
> +
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH net v3] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-07 6:09 ` [PATCH net v2] " joshwash
2024-06-07 6:35 ` Eric Dumazet
2024-06-07 14:07 ` Willem de Bruijn
@ 2024-06-10 22:57 ` joshwash
2024-06-11 0:27 ` Jakub Kicinski
2024-06-12 3:00 ` patchwork-bot+netdevbpf
2 siblings, 2 replies; 11+ messages in thread
From: joshwash @ 2024-06-10 22:57 UTC (permalink / raw)
To: netdev
Cc: davem, kuba, stable, Joshua Washington, Praveen Kaligineedi,
Harshitha Ramamurthy, Willem de Bruijn, Eric Dumazet,
Andrei Vagin, Jeroen de Borst, Shailend Chand, Paolo Abeni,
Rushil Gupta, Catherine Sullivan, Bailey Forrest, open list
From: Joshua Washington <joshwash@google.com>
TSO currently fails when the skb's gso_type field has more than one bit
set.
TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
virtualization, such as QEMU, a real use-case.
The gso_type and gso_size fields as passed from userspace in
virtio_net_hdr are not trusted blindly by the kernel. It adds gso_type
|= SKB_GSO_DODGY to force the packet to enter the software GSO stack
for verification.
This issue might similarly come up when the CWR bit is set in the TCP
header for congestion control, causing the SKB_GSO_TCP_ECN gso_type bit
to be set.
Fixes: a57e5de476be ("gve: DQO: Add TX path")
Signed-off-by: Joshua Washington <joshwash@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
Acked-by: Andrei Vagin <avagin@gmail.com>
v2 - Remove unnecessary comments, remove line break between fixes tag
and signoffs.
v3 - Add back unrelated empty line removal.
---
drivers/net/ethernet/google/gve/gve_tx_dqo.c | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/net/ethernet/google/gve/gve_tx_dqo.c b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
index fe1b26a4d736..0b3cca3fc792 100644
--- a/drivers/net/ethernet/google/gve/gve_tx_dqo.c
+++ b/drivers/net/ethernet/google/gve/gve_tx_dqo.c
@@ -555,28 +555,18 @@ static int gve_prep_tso(struct sk_buff *skb)
if (unlikely(skb_shinfo(skb)->gso_size < GVE_TX_MIN_TSO_MSS_DQO))
return -1;
+ if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
+ return -EINVAL;
+
/* Needed because we will modify header. */
err = skb_cow_head(skb, 0);
if (err < 0)
return err;
tcp = tcp_hdr(skb);
-
- /* Remove payload length from checksum. */
paylen = skb->len - skb_transport_offset(skb);
-
- switch (skb_shinfo(skb)->gso_type) {
- case SKB_GSO_TCPV4:
- case SKB_GSO_TCPV6:
- csum_replace_by_diff(&tcp->check,
- (__force __wsum)htonl(paylen));
-
- /* Compute length of segmentation header. */
- header_len = skb_tcp_all_headers(skb);
- break;
- default:
- return -EINVAL;
- }
+ csum_replace_by_diff(&tcp->check, (__force __wsum)htonl(paylen));
+ header_len = skb_tcp_all_headers(skb);
if (unlikely(header_len > GVE_TX_MAX_HDR_SIZE_DQO))
return -EINVAL;
--
2.45.2.505.gda0bf45e8d-goog
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH net v3] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-10 22:57 ` [PATCH net v3] " joshwash
@ 2024-06-11 0:27 ` Jakub Kicinski
2024-06-11 2:26 ` Joshua Washington
2024-06-12 3:00 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 11+ messages in thread
From: Jakub Kicinski @ 2024-06-11 0:27 UTC (permalink / raw)
To: joshwash
Cc: netdev, davem, stable, Praveen Kaligineedi, Harshitha Ramamurthy,
Willem de Bruijn, Eric Dumazet, Andrei Vagin, Jeroen de Borst,
Shailend Chand, Paolo Abeni, Rushil Gupta, Catherine Sullivan,
Bailey Forrest, open list
On Mon, 10 Jun 2024 15:57:18 -0700 joshwash@google.com wrote:
> v2 - Remove unnecessary comments, remove line break between fixes tag
> and signoffs.
>
> v3 - Add back unrelated empty line removal.
Read the maintainer info again, please:
https://www.kernel.org/doc/html/next/process/maintainer-netdev.html
we prefer no in-reply to postings.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH net v3] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-11 0:27 ` Jakub Kicinski
@ 2024-06-11 2:26 ` Joshua Washington
2024-06-11 2:35 ` Jakub Kicinski
0 siblings, 1 reply; 11+ messages in thread
From: Joshua Washington @ 2024-06-11 2:26 UTC (permalink / raw)
To: Jakub Kicinski
Cc: netdev, davem, stable, Praveen Kaligineedi, Harshitha Ramamurthy,
Willem de Bruijn, Eric Dumazet, Andrei Vagin, Jeroen de Borst,
Shailend Chand, Paolo Abeni, Rushil Gupta, Catherine Sullivan,
Bailey Forrest, open list
My apologies. I'll send an updated patch tomorrow without --in-reply-to.
On Mon, Jun 10, 2024 at 5:27 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> On Mon, 10 Jun 2024 15:57:18 -0700 joshwash@google.com wrote:
> > v2 - Remove unnecessary comments, remove line break between fixes tag
> > and signoffs.
> >
> > v3 - Add back unrelated empty line removal.
>
> Read the maintainer info again, please:
> https://www.kernel.org/doc/html/next/process/maintainer-netdev.html
> we prefer no in-reply to postings.
--
Joshua Washington | Software Engineer | joshwash@google.com | (414) 366-4423
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH net v3] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-11 2:26 ` Joshua Washington
@ 2024-06-11 2:35 ` Jakub Kicinski
0 siblings, 0 replies; 11+ messages in thread
From: Jakub Kicinski @ 2024-06-11 2:35 UTC (permalink / raw)
To: Joshua Washington
Cc: netdev, davem, stable, Praveen Kaligineedi, Harshitha Ramamurthy,
Willem de Bruijn, Eric Dumazet, Andrei Vagin, Jeroen de Borst,
Shailend Chand, Paolo Abeni, Rushil Gupta, Catherine Sullivan,
Bailey Forrest, open list
On Mon, 10 Jun 2024 19:26:32 -0700 Joshua Washington wrote:
> My apologies. I'll send an updated patch tomorrow without --in-reply-to.
No need, it's still in patchwork, it was just a note for the future.
I should have made that more clear, I realized that after hitting send.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH net v3] gve: ignore nonrelevant GSO type bits when processing TSO headers
2024-06-10 22:57 ` [PATCH net v3] " joshwash
2024-06-11 0:27 ` Jakub Kicinski
@ 2024-06-12 3:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 11+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-06-12 3:00 UTC (permalink / raw)
To: Joshua Washington
Cc: netdev, davem, kuba, stable, pkaligineedi, hramamurthy, willemb,
edumazet, avagin, jeroendb, shailend, pabeni, rushilg, csully,
bcf, linux-kernel
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 10 Jun 2024 15:57:18 -0700 you wrote:
> From: Joshua Washington <joshwash@google.com>
>
> TSO currently fails when the skb's gso_type field has more than one bit
> set.
>
> TSO packets can be passed from userspace using PF_PACKET, TUNTAP and a
> few others, using virtio_net_hdr (e.g., PACKET_VNET_HDR). This includes
> virtualization, such as QEMU, a real use-case.
>
> [...]
Here is the summary with links:
- [net,v3] gve: ignore nonrelevant GSO type bits when processing TSO headers
https://git.kernel.org/netdev/net/c/1b9f75634441
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-06-12 3:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 19:21 [PATCH net] gve: ignore nonrelevant GSO type bits when processing TSO headers joshwash
2024-06-06 21:53 ` Willem de Bruijn
2024-06-06 22:16 ` Andrei Vagin
2024-06-07 6:09 ` [PATCH net v2] " joshwash
2024-06-07 6:35 ` Eric Dumazet
2024-06-07 14:07 ` Willem de Bruijn
2024-06-10 22:57 ` [PATCH net v3] " joshwash
2024-06-11 0:27 ` Jakub Kicinski
2024-06-11 2:26 ` Joshua Washington
2024-06-11 2:35 ` Jakub Kicinski
2024-06-12 3:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).