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-- 4.8 KB
Makefile -rw-r--r-- 874 bytes
alarmtimer.c -rw-r--r-- 23.7 KB
clockevents.c -rw-r--r-- 19.6 KB
clocksource.c -rw-r--r-- 33.4 KB
hrtimer.c -rw-r--r-- 61.3 KB
itimer.c -rw-r--r-- 10.2 KB
jiffies.c -rw-r--r-- 3.1 KB
namespace.c -rw-r--r-- 10.4 KB
ntp.c -rw-r--r-- 28.3 KB
ntp_internal.h -rw-r--r-- 783 bytes
posix-clock.c -rw-r--r-- 5.6 KB
posix-cpu-timers.c -rw-r--r-- 42.4 KB
posix-stubs.c -rw-r--r-- 5.5 KB
posix-timers.c -rw-r--r-- 37.1 KB
posix-timers.h -rw-r--r-- 1.9 KB
sched_clock.c -rw-r--r-- 7.7 KB
test_udelay.c -rw-r--r-- 3.6 KB
tick-broadcast-hrtimer.c -rw-r--r-- 3.2 KB
tick-broadcast.c -rw-r--r-- 27.5 KB
tick-common.c -rw-r--r-- 14.5 KB
tick-internal.h -rw-r--r-- 6.8 KB
tick-legacy.c -rw-r--r-- 999 bytes
tick-oneshot.c -rw-r--r-- 3.2 KB
tick-sched.c -rw-r--r-- 36.8 KB
tick-sched.h -rw-r--r-- 3.3 KB
time.c -rw-r--r-- 22.9 KB
timeconst.bc -rw-r--r-- 3.0 KB
timeconv.c -rw-r--r-- 3.6 KB
timecounter.c -rw-r--r-- 2.5 KB
timekeeping.c -rw-r--r-- 69.6 KB
timekeeping.h -rw-r--r-- 983 bytes
timekeeping_debug.c -rw-r--r-- 1.3 KB
timekeeping_internal.h -rw-r--r-- 921 bytes
timer.c -rw-r--r-- 60.2 KB
timer_list.c -rw-r--r-- 8.4 KB
vsyscall.c -rw-r--r-- 4.9 KB

back to top