lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 12 Jun 2021 09:37:28 -0500
From:   Alex Elder <elder@...aro.org>
To:     subashab@...eaurora.org, stranche@...eaurora.org,
        davem@...emloft.net, kuba@...nel.org
Cc:     bjorn.andersson@...aro.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH net-next 0/8] net: qualcomm: rmnet: MAPv4 download checksum cleanup, part 2

This is part 2 of a large series that reworks some code that handles
downloaded packets when MAPv4 checksum offload is enabled.  The
first part, which includes an overview, is here:
  https://lore.kernel.org/netdev/20210611190529.3085813-1-elder@linaro.org/

This second part of the series completes the simplification of this
handling code, removing unnecessary byte swaps and bitwise inversions
of checksum values, and along the way avoids the need for almost all
of the forced type casts.  The checksum field in an RMNet download
trailer is given __sum16_t type to accurately reflect the meaning of
that field.

					-Alex

Alex Elder (8):
  net: qualcomm: rmnet: remove some local variables
  net: qualcomm: rmnet: rearrange some NOTs
  net: qualcomm: rmnet: show that an intermediate sum is zero
  net: qualcomm: rmnet: return earlier for bad checksum
  net: qualcomm: rmnet: remove unneeded code
  net: qualcomm: rmnet: trailer value is a checksum
  net: qualcomm: rmnet: drop some unary NOTs
  net: qualcomm: rmnet: IPv6 payload length is simple

 .../ethernet/qualcomm/rmnet/rmnet_map_data.c  | 115 ++++++------------
 include/linux/if_rmnet.h                      |   2 +-
 2 files changed, 41 insertions(+), 76 deletions(-)

-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ