]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: initialize mptcp_options_received's ahmac
authorGeliang Tang <geliangtang@gmail.com>
Mon, 19 Oct 2020 10:23:15 +0000 (18:23 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Oct 2020 23:32:14 +0000 (16:32 -0700)
commitc1fd6b38a29aa75ee4eb173413f8046d7c008c5e
tree918d549d6dbccbc086436379973196c4f8a7e452
parent24369d250a4ab7aec3703a1801144a9c8c491908
mptcp: initialize mptcp_options_received's ahmac

Initialize mptcp_options_received's ahmac to zero, otherwise it
will be a random number when receiving ADD_ADDR suboption with echo-flag=1.

Fixes: 6628295c62fd3 ("mptcp: Add ADD_ADDR handling")
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c