mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
core: Do not zero out transport checksum
Hardware does not use the value populated in the transport checksum field for checksum computation in MAPv5 format if checksum required bit is set. The partial checksum can be left as is in these cases. Explicitly marking the field as 0 could potentially cause incorrect verdicts in hardware in translation scenarios for UDPv4. CRs-Fixed: 2626450 Change-Id: I8d9e38e6af0df344ceebd630a895b1d7f467b1db Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
parent
9caf059028
commit
c9eea21709
1 changed files with 0 additions and 1 deletions
|
|
@ -543,7 +543,6 @@ void rmnet_map_v5_checksum_uplink_packet(struct sk_buff *skb,
|
|||
|
||||
check = rmnet_map_get_csum_field(proto, trans);
|
||||
if (check) {
|
||||
*check = 0;
|
||||
skb->ip_summed = CHECKSUM_NONE;
|
||||
/* Ask for checksum offloading */
|
||||
ul_header->csum_valid_required = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue