diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-07-22 17:20:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-22 17:57:37 -0700 |
commit | 6ab301c98f174a8c25d5351b977a1113e2f1fb91 (patch) | |
tree | 548ed9be7a713af0f34edac00d6ee22bfbfb859d /crypto/algapi.c | |
parent | bb809a047eb5070e2fc76aa62d111fbbe656c532 (diff) | |
download | linux-stable-6ab301c98f174a8c25d5351b977a1113e2f1fb91.tar.gz linux-stable-6ab301c98f174a8c25d5351b977a1113e2f1fb91.tar.bz2 linux-stable-6ab301c98f174a8c25d5351b977a1113e2f1fb91.zip |
mptcp: zero token hash at creation time.
Otherwise the 'chain_len' filed will carry random values,
some token creation calls will fail due to excessive chain
length, causing unexpected fallback to TCP.
Fixes: 2c5ebd001d4f ("mptcp: refactor token container")
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Tested-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions