Re: [PATCH net] net: virtio_net_hdr_to_skb: count transport header in UFO

From: Jakub Kicinski
Date: Mon Nov 15 2021 - 20:22:49 EST


On Mon, 15 Nov 2021 15:16:17 +0000 Jonathan Davies wrote:
> + if (gso_type & SKB_GSO_UDP && skb->len - p_off + thlen > gso_size ||

Compilers don't like mixing && and || without bracketing, and will warn
here, at least with W=1. Please add explicit brackets.