aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2005-08-23 17:13:06 +0000
committerDavid S. Miller <[email protected]>2005-08-23 17:13:06 +0000
commit89ebd197eb2cd31d6187db344d5117064e19fdde (patch)
treed017e5c04afcd33d99a2bf8554332c5754df8c36 /net/lapb/lapb_subr.c
parent[PKT_SCHED]: Fix missing qdisc_destroy() in qdisc_create_dflt() (diff)
downloadkernel-89ebd197eb2cd31d6187db344d5117064e19fdde.tar.gz
kernel-89ebd197eb2cd31d6187db344d5117064e19fdde.zip
[TCP]: Unconditionally clear TCP_NAGLE_PUSH in skb_entail().
Intention of this bit is to force pushing of the existing send queue when TCP_CORK or TCP_NODELAY state changes via setsockopt(). But it's easy to create a situation where the bit never clears. For example, if the send queue starts empty: 1) set TCP_NODELAY 2) clear TCP_NODELAY 3) set TCP_CORK 4) do small write() The current code will leave TCP_NAGLE_PUSH set after that sequence. Unconditionally clearing the bit when new data is added via skb_entail() solves the problem. Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions