diff options
| author | Eric Dumazet <[email protected]> | 2010-12-07 12:03:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-12-08 20:34:08 +0000 |
| commit | ad9f4f50fe9288bbe65b7dfd76d8820afac6a24c (patch) | |
| tree | f3f3100da8d042607bbbab31c1f8a060ba2b5f15 /net/unix | |
| parent | ehea: Fixing LRO configuration (diff) | |
| download | kernel-ad9f4f50fe9288bbe65b7dfd76d8820afac6a24c.tar.gz kernel-ad9f4f50fe9288bbe65b7dfd76d8820afac6a24c.zip | |
tcp: avoid a possible divide by zero
sysctl_tcp_tso_win_divisor might be set to zero while one cpu runs in
tcp_tso_should_defer(). Make sure we dont allow a divide by zero by
reading sysctl_tcp_tso_win_divisor exactly once.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions
