]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: fix error mibs accounting
authorPaolo Abeni <pabeni@redhat.com>
Tue, 28 Jun 2022 01:02:35 +0000 (18:02 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Jun 2022 03:45:42 +0000 (20:45 -0700)
commitd25b5733fe80a01fed233a005e056f3416588dfd
tree73c6bda94eff7281c1c1a6ec2c778b7971f37d22
parent4012567096da0b2d77760082409bcb49f705e555
mptcp: fix error mibs accounting

The current accounting for MP_FAIL and FASTCLOSE is not very
accurate: both can be increased even when the related option is
not really sent. Move the accounting into the correct place.

Fixes: 43da668c4222 ("mptcp: add the mibs for MP_FAIL")
Fixes: 45021bc4ace1 ("mptcp: add the mibs for MP_FASTCLOSE")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c
net/mptcp/pm.c
net/mptcp/subflow.c