summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-07-08 12:21:47 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-07-09 11:09:17 +0100
commitd903bca9bc542bd6d60019f9f761be15ad79c956 (patch)
tree510a51eccad4bf34a01cad162179817a0d793af1 /fs/select.c
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff)
downloadlinux-d903bca9bc542bd6d60019f9f761be15ad79c956.tar.bz2
metag: checksum.h: fix carry in csum_tcpudp_nofold
In csum_tcpudp_nofold, add 1 if the carry bit is set after adding the destination IP address (32 bits) to the checksum (16 bits). The lack of carry handling for this particular addition meant that a destination address of *.*.255.255 (e.g. certain broadcasts) sometimes resulted in an incorrect checksum. This bug has been present in the Meta port since the code was written in the 2.4 days. Reported-by: Marcin Nowakowski <Marcin.Nowakowski@pure.com> Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions