diff options
author | Ilpo Järvinen | 2009-03-14 15:23:01 +0100 |
---|---|---|
committer | David S. Miller | 2009-03-16 04:09:51 +0100 |
commit | 5861f8e58dd84fc34b691c2e8d4824dea68c360e (patch) | |
tree | 5c202f6866cca91ded45213cbb1a3d7f75fc6749 /lib/ts_fsm.c | |
parent | pkt_sched: Change misleading code in class delete. (diff) | |
download | kernel-qcow2-linux-5861f8e58dd84fc34b691c2e8d4824dea68c360e.tar.gz kernel-qcow2-linux-5861f8e58dd84fc34b691c2e8d4824dea68c360e.tar.xz kernel-qcow2-linux-5861f8e58dd84fc34b691c2e8d4824dea68c360e.zip |
tcp: remove pointless .dsack/.num_sacks code
In the pure assignment case, the earlier zeroing is
still in effect.
David S. Miller raised concerns if the ifs are there to avoid
dirtying cachelines. I came to these conclusions:
> We'll be dirty it anyway (now that I check), the first "real" statement
> in tcp_rcv_established is:
>
> tp->rx_opt.saw_tstamp = 0;
>
> ...that'll land on the same dword. :-/
>
> I suppose the blocks are there just because they had more complexity
> inside when they had to calculate the eff_sacks too (maybe it would
> have been better to just remove them in that drop-patch so you would
> have had less head-ache :-)).
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions