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
File | Mode | Size |
---|---|---|
syscalls | ||
vdso64 | ||
.gitignore | -rw-r--r-- | 52 bytes |
Makefile | -rw-r--r-- | 2.6 KB |
alternative.c | -rw-r--r-- | 2.6 KB |
asm-offsets.c | -rw-r--r-- | 7.0 KB |
audit.c | -rw-r--r-- | 1.7 KB |
audit.h | -rw-r--r-- | 433 bytes |
base.S | -rw-r--r-- | 895 bytes |
cache.c | -rw-r--r-- | 4.4 KB |
compat_audit.c | -rw-r--r-- | 709 bytes |
compat_linux.c | -rw-r--r-- | 7.8 KB |
compat_linux.h | -rw-r--r-- | 4.5 KB |
compat_ptrace.h | -rw-r--r-- | 2.1 KB |
compat_signal.c | -rw-r--r-- | 12.4 KB |
cpcmd.c | -rw-r--r-- | 2.7 KB |
crash_dump.c | -rw-r--r-- | 17.0 KB |
debug.c | -rw-r--r-- | 35.6 KB |
diag.c | -rw-r--r-- | 5.5 KB |
dis.c | -rw-r--r-- | 20.9 KB |
dumpstack.c | -rw-r--r-- | 6.2 KB |
early.c | -rw-r--r-- | 8.0 KB |
early_printk.c | -rw-r--r-- | 826 bytes |
ebcdic.c | -rw-r--r-- | 17.4 KB |
entry.S | -rw-r--r-- | 18.3 KB |
entry.h | -rw-r--r-- | 2.2 KB |
fpu.c | -rw-r--r-- | 8.4 KB |
ftrace.c | -rw-r--r-- | 5.6 KB |
guarded_storage.c | -rw-r--r-- | 2.4 KB |
head64.S | -rw-r--r-- | 1000 bytes |
idle.c | -rw-r--r-- | 4.0 KB |
ima_arch.c | -rw-r--r-- | 217 bytes |
ipl.c | -rw-r--r-- | 56.6 KB |
ipl_vmparm.c | -rw-r--r-- | 916 bytes |
irq.c | -rw-r--r-- | 11.4 KB |
jump_label.c | -rw-r--r-- | 2.2 KB |
kdebugfs.c | -rw-r--r-- | 332 bytes |
kexec_elf.c | -rw-r--r-- | 3.3 KB |
kexec_image.c | -rw-r--r-- | 1.6 KB |
kprobes.c | -rw-r--r-- | 14.4 KB |
kprobes_insn_page.S | -rw-r--r-- | 746 bytes |
lgr.c | -rw-r--r-- | 4.3 KB |
machine_kexec.c | -rw-r--r-- | 6.8 KB |
machine_kexec_file.c | -rw-r--r-- | 7.5 KB |
machine_kexec_reloc.c | -rw-r--r-- | 1.3 KB |
mcount.S | -rw-r--r-- | 2.8 KB |
module.c | -rw-r--r-- | 15.8 KB |
nmi.c | -rw-r--r-- | 12.5 KB |
nospec-branch.c | -rw-r--r-- | 4.7 KB |
nospec-sysfs.c | -rw-r--r-- | 766 bytes |
numa.c | -rw-r--r-- | 927 bytes |
os_info.c | -rw-r--r-- | 4.0 KB |
perf_cpum_cf.c | -rw-r--r-- | 14.7 KB |
perf_cpum_cf_common.c | -rw-r--r-- | 5.7 KB |
perf_cpum_cf_diag.c | -rw-r--r-- | 33.2 KB |
perf_cpum_cf_events.c | -rw-r--r-- | 35.3 KB |
perf_cpum_sf.c | -rw-r--r-- | 62.8 KB |
perf_event.c | -rw-r--r-- | 5.5 KB |
perf_regs.c | -rw-r--r-- | 1.5 KB |
process.c | -rw-r--r-- | 5.7 KB |
processor.c | -rw-r--r-- | 6.2 KB |
ptrace.c | -rw-r--r-- | 42.8 KB |
reipl.S | -rw-r--r-- | 1.8 KB |
relocate_kernel.S | -rw-r--r-- | 2.1 KB |
runtime_instr.c | -rw-r--r-- | 2.2 KB |
setup.c | -rw-r--r-- | 31.9 KB |
signal.c | -rw-r--r-- | 15.8 KB |
smp.c | -rw-r--r-- | 31.6 KB |
stacktrace.c | -rw-r--r-- | 1.3 KB |
sthyi.c | -rw-r--r-- | 11.8 KB |
syscall.c | -rw-r--r-- | 4.2 KB |
sysinfo.c | -rw-r--r-- | 16.0 KB |
time.c | -rw-r--r-- | 22.7 KB |
topology.c | -rw-r--r-- | 14.8 KB |
trace.c | -rw-r--r-- | 715 bytes |
traps.c | -rw-r--r-- | 10.9 KB |
unwind_bc.c | -rw-r--r-- | 4.7 KB |
uprobes.c | -rw-r--r-- | 10.1 KB |
uv.c | -rw-r--r-- | 11.8 KB |
vdso.c | -rw-r--r-- | 5.8 KB |
vmlinux.lds.S | -rw-r--r-- | 4.1 KB |
vtime.c | -rw-r--r-- | 11.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...