Revision 61e710227e97172355d5f150d5c78c64175d9fb2 authored by Paolo Abeni on 10 June 2021, 22:59:42 UTC, committed by David S. Miller on 10 June 2021, 23:47:45 UTC
warn_bad_map() produces a kernel WARN on bad input coming
from the network. Use pr_debug() to avoid spamming the system
log.

Additionally, when the right bound check fails, warn_bad_map() reports
the wrong ssn value, let's fix it.

Fixes: 648ef4b88673 ("mptcp: Implement MPTCP receive path")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/107
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 99d1055
History
File Mode Size
Makefile -rw-r--r-- 342 bytes
cache.c -rw-r--r-- 3.5 KB
fault.c -rw-r--r-- 4.8 KB
hwtest.c -rw-r--r-- 2.6 KB
init.c -rw-r--r-- 3.5 KB
kmap.c -rw-r--r-- 8.4 KB
mcfmmu.c -rw-r--r-- 5.8 KB
memory.c -rw-r--r-- 5.0 KB
motorola.c -rw-r--r-- 11.5 KB
sun3kmap.c -rw-r--r-- 3.4 KB
sun3mmu.c -rw-r--r-- 2.7 KB

back to top