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-- 746 bytes
aes_s390.c -rw-r--r-- 27.4 KB
arch_random.c -rw-r--r-- 7.8 KB
crc32-vx.c -rw-r--r-- 8.2 KB
crc32be-vx.S -rw-r--r-- 6.1 KB
crc32le-vx.S -rw-r--r-- 7.8 KB
des_s390.c -rw-r--r-- 13.2 KB
ghash_s390.c -rw-r--r-- 3.1 KB
paes_s390.c -rw-r--r-- 20.2 KB
prng.c -rw-r--r-- 24.0 KB
sha.h -rw-r--r-- 912 bytes
sha1_s390.c -rw-r--r-- 2.6 KB
sha256_s390.c -rw-r--r-- 3.4 KB
sha3_256_s390.c -rw-r--r-- 3.5 KB
sha3_512_s390.c -rw-r--r-- 3.5 KB
sha512_s390.c -rw-r--r-- 3.8 KB
sha_common.c -rw-r--r-- 2.8 KB

back to top