diff options
| author | David S. Miller <[email protected]> | 2005-04-25 02:12:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2005-04-25 02:12:33 +0000 |
| commit | d5ac99a648b8c61d0c7f1c32a8ab7f1dca0123d2 (patch) | |
| tree | 3811d84e83dab918c57aeca1081ae343cb97df8b /security/selinux/hooks.c | |
| parent | [SLIP]: Remove redundant NULL pointer checks prior to kfree (diff) | |
| download | kernel-d5ac99a648b8c61d0c7f1c32a8ab7f1dca0123d2.tar.gz kernel-d5ac99a648b8c61d0c7f1c32a8ab7f1dca0123d2.zip | |
[TCP]: skb pcount with MTU discovery
The problem is that when doing MTU discovery, the too-large segments in
the write queue will be calculated as having a pcount of >1. When
tcp_write_xmit() is trying to send, tcp_snd_test() fails the cwnd test
when pcount > cwnd.
The segments are eventually transmitted one at a time by keepalive, but
this can take a long time.
This patch checks if TSO is enabled when setting pcount.
Signed-off-by: John Heffner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
