]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: drop unconditional pr_warn on bad opt
authorPaolo Abeni <pabeni@redhat.com>
Tue, 25 May 2021 21:23:11 +0000 (14:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:56:20 +0000 (15:56 -0700)
commit3812ce895047afdb78dc750a236515416e0ccded
tree3f6d1cb8c25ff785268e8da25aee696080f7bdf1
parent20b5759f21cf53a0e03031bd3fe539e332b13568
mptcp: drop unconditional pr_warn on bad opt

This is a left-over of early day. A malicious peer can flood
the kernel logs with useless messages, just drop it.

Fixes: f296234c98a8 ("mptcp: Add handling of incoming MP_JOIN requests")
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>
net/mptcp/options.c