mirror-linux/include
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
..
acpi
asm-generic mm: remove xlate_dev_kmem_ptr() 2021-05-07 00:26:34 -07:00
clocksource
crypto
drm
dt-bindings Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2021-05-06 23:37:55 -07:00
keys
kunit
kvm
linux net: qualcomm: rmnet: trailer value is a checksum 2021-06-12 13:18:49 -07:00
math-emu
media
memory
misc
net rtnetlink: add alloc() method to rtnl_link_ops 2021-06-12 13:16:45 -07:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace virtio/vsock: update trace event for SEQPACKET 2021-06-11 13:32:47 -07:00
uapi wwan: add interface creation support 2021-06-12 13:16:45 -07:00
vdso
video
xen xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h 2021-05-14 15:52:05 +02:00