]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfe2d9b1a0e7805384770ec0ddd34c9f1e9fe6fa8
tree918d549d6dbccbc086436379973196c4f8a7e452
parent47b5d2a107396ab05e83a4dfbd30b563ecbc83af
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: 3df523ab582c5 ("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