mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge b729e0e88e on remote branch
Change-Id: I4279b9af54939b8f4451eaab142ea34bca068e67
This commit is contained in:
commit
91a92b331f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
|
@ -1447,7 +1447,7 @@ static int rmnet_frag_checksum_pkt(struct rmnet_frag_descriptor *frag_desc)
|
|||
|
||||
csum_len -= frag_desc->ip_len;
|
||||
/* IPv4 checksum must be valid */
|
||||
if (ip_fast_csum((u8 *)iph, frag_desc->ip_len)) {
|
||||
if (ip_fast_csum((u8 *)iph, iph->ihl)) {
|
||||
priv->stats.csum_sw++;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue