aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-06-09 06:34:10 +0000
committerJakub Kicinski <[email protected]>2022-06-10 23:21:27 +0000
commit7c80b038d23e1f4c7fcc311f43f83b8c60e7fb80 (patch)
treec4a0d2b50d45d29cc48dc3b65cf69c147be04c0e /net/ipv4/tcp_timer.c
parentnet: implement per-cpu reserves for memory_allocated (diff)
downloadkernel-7c80b038d23e1f4c7fcc311f43f83b8c60e7fb80.tar.gz
kernel-7c80b038d23e1f4c7fcc311f43f83b8c60e7fb80.zip
net: fix sk_wmem_schedule() and sk_rmem_schedule() errors
If sk->sk_forward_alloc is 150000, and we need to schedule 150001 bytes, we want to allocate 1 byte more (rounded up to one page), instead of 150001 :/ Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Shakeel Butt <[email protected]> Acked-by: Soheil Hassas Yeganeh <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions