diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-10-08 14:34:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 14:34:06 -0400 |
commit | 52cd5750e81ec8d213949fa7c0d2e08907bf498b (patch) | |
tree | 10e7a8127022e99bf6e729fe04420fa82a0997a8 /net/sched | |
parent | 2ca89cea5c9fdafd495fb840fa055383d253174e (diff) |
tcp: fix length used for checksum in a reset
While looking for some common code I came across difference
in checksum calculation between tcp_v6_send_(reset|ack) I
couldn't explain. I checked both v4 and v6 and found out that
both seem to have the same "feature". I couldn't find anything
in rfc nor anywhere else which would state that md5 option
should be ignored like it was in case of reset so I came to
a conclusion that this is probably a genuine bug. I suspect
that addition of md5 just was fooled by the excessive
copy-paste code in those functions and the reset part was
never tested well enough to find out the problem.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions