]> 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)
commitcf4a42a5172f04259a8ff566996d42f3132e91a2
tree3f6d1cb8c25ff785268e8da25aee696080f7bdf1
parenta82526475e71666718502cda4eb60a8377ffc717
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: fb5f5519370c ("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