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
Kconfig -rw-r--r-- 5.8 KB
Makefile -rw-r--r-- 456 bytes
coherent.c -rw-r--r-- 10.6 KB
contiguous.c -rw-r--r-- 12.6 KB
debug.c -rw-r--r-- 41.3 KB
debug.h -rw-r--r-- 3.4 KB
direct.c -rw-r--r-- 15.2 KB
direct.h -rw-r--r-- 3.9 KB
dummy.c -rw-r--r-- 940 bytes
map_benchmark.c -rw-r--r-- 9.5 KB
mapping.c -rw-r--r-- 20.9 KB
ops_helpers.c -rw-r--r-- 2.3 KB
pool.c -rw-r--r-- 7.5 KB
remap.c -rw-r--r-- 1.6 KB
swiotlb.c -rw-r--r-- 18.3 KB

back to top