Files
twx-linux/include/linux
Alex Elder be754f6435 net: qualcomm: rmnet: trailer value is a checksum
The csum_value field in the rmnet_map_dl_csum_trailer structure is a
"real" Internet checksum.  It is a 16 bit value, in big endian format,
which represents an inverted ones' complement sum over pairs of bytes.

Make that clear by changing its type to __sum16.

This makes a typecast in rmnet_map_ipv4_dl_csum_trailer() and
another in rmnet_map_ipv6_dl_csum_trailer() unnecessary.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-12 13:18:49 -07:00
..
2021-06-03 14:04:18 -07:00
2021-05-18 17:24:52 +01:00
2021-05-06 19:24:11 -07:00
2021-05-08 21:49:48 -06:00
2021-05-19 00:33:40 +02:00
2021-05-24 12:45:26 -04:00
2021-05-24 12:45:26 -04:00
2021-05-06 19:24:11 -07:00
2021-05-07 00:26:34 -07:00
2021-06-07 14:11:47 -07:00
2021-06-07 14:11:47 -07:00
2021-06-03 13:10:17 -07:00
2021-06-12 13:08:57 -07:00
2021-06-07 14:11:47 -07:00
2021-05-06 19:24:11 -07:00
2021-05-07 00:26:35 -07:00
2021-06-12 13:16:45 -07:00