original_kernel/include
Ilpo Järvinen 33f5f57eeb tcp: kill pointless urg_mode
It all started from me noticing that this urgent check in
tcp_clean_rtx_queue is unnecessarily inside the loop. Then
I took a longer look to it and found out that the users of
urg_mode can trivially do without, well almost, there was
one gotcha.

Bonus: those funny people who use urg with >= 2^31 write_seq -
snd_una could now rejoice too (that's the only purpose for the
between being there, otherwise a simple compare would have done
the thing). Not that I assume that the rest of the tcp code
happily lives with such mind-boggling numbers :-). Alas, it
turned out to be impossible to set wmem to such numbers anyway,
yes I really tried a big sendfile after setting some wmem but
nothing happened :-). ...Tcp_wmem is int and so is sk_sndbuf...
So I hacked a bit variable to long and found out that it seems
to work... :-)

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-07 14:43:06 -07:00
..
acpi
asm-arm
asm-cris
asm-frv
asm-generic
asm-m32r
asm-m68k
asm-mips [MIPS] Fixe the definition of PTRS_PER_PGD 2008-09-24 00:26:55 +02:00
asm-mn10300
asm-parisc
asm-um
asm-x86 kgdb, x86_64: fix PS CS SS registers in gdb serial 2008-09-26 10:36:42 -05:00
asm-xtensa
crypto
drm
keys
linux tcp: kill pointless urg_mode 2008-10-07 14:43:06 -07:00
math-emu
media
mtd
net net: wrap sk->sk_backlog_rcv() 2008-10-07 14:18:42 -07:00
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild