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-- 11.2 KB
Makefile -rw-r--r-- 595 bytes
autosleep.c -rw-r--r-- 2.6 KB
console.c -rw-r--r-- 3.5 KB
energy_model.c -rw-r--r-- 9.1 KB
hibernate.c -rw-r--r-- 30.1 KB
main.c -rw-r--r-- 22.5 KB
power.h -rw-r--r-- 8.6 KB
poweroff.c -rw-r--r-- 992 bytes
process.c -rw-r--r-- 5.6 KB
qos.c -rw-r--r-- 17.2 KB
snapshot.c -rw-r--r-- 72.6 KB
suspend.c -rw-r--r-- 15.3 KB
suspend_test.c -rw-r--r-- 5.7 KB
swap.c -rw-r--r-- 37.8 KB
user.c -rw-r--r-- 9.4 KB
wakelock.c -rw-r--r-- 5.9 KB

back to top