[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190726.142042.1445031989458540873.davem@davemloft.net>
Date: Fri, 26 Jul 2019 14:20:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: subashab@...eaurora.org
Cc: netdev@...r.kernel.org, stranche@...eaurora.org
Subject: Re: [PATCH net] net: qualcomm: rmnet: Fix incorrect UL checksum
offload logic
From: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>
Date: Thu, 25 Jul 2019 12:07:12 -0600
> The udp_ip4_ind bit is set only for IPv4 UDP non-fragmented packets
> so that the hardware can flip the checksum to 0xFFFF if the computed
> checksum is 0 per RFC768.
>
> However, this bit had to be set for IPv6 UDP non fragmented packets
> as well per hardware requirements. Otherwise, IPv6 UDP packets
> with computed checksum as 0 were transmitted by hardware and were
> dropped in the network.
>
> In addition to setting this bit for IPv6 UDP, the field is also
> appropriately renamed to udp_ind as part of this change.
>
> Fixes: 5eb5f8608ef1 ("net: qualcomm: rmnet: Add support for TX checksum offload")
> Cc: Sean Tranchetti <stranche@...eaurora.org>
> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>
Applied and queued up for -stable.
Powered by blists - more mailing lists