Revision 72f961320d5d15bfcb26dbe3edaa3f7d25fd2c8a authored by Paolo Abeni on 10 June 2021, 22:59:40 UTC, committed by David S. Miller on 10 June 2021, 23:47:44 UTC
If the host is under sever memory pressure, and RX forward memory allocation for the msk fails, we try to borrow the required memory from the ingress subflow. The current attempt is a bit flaky: if skb->truesize is less than SK_MEM_QUANTUM, the ssk will not release any memory, and the next schedule will fail again. Instead, directly move the required amount of pages from the ssk to the msk, if available Fixes: 9c3f94e1681b ("mptcp: add missing memory scheduling in the rx path") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 22488e4
File | Mode | Size |
---|---|---|
configs | ||
drivers | ||
include | ||
kernel | ||
os-Linux | ||
scripts | ||
.gitignore | -rw-r--r-- | 93 bytes |
Kconfig | -rw-r--r-- | 5.1 KB |
Kconfig.debug | -rw-r--r-- | 1006 bytes |
Makefile | -rw-r--r-- | 4.7 KB |
Makefile-os-Linux | -rw-r--r-- | 235 bytes |
Makefile-skas | -rw-r--r-- | 290 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...