diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-04-30 15:03:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 12:34:07 -0700 |
commit | ac2b47fb92c50682d89d7350a491a6a392bac5dd (patch) | |
tree | 3d4f969f7f09664e88d7a35e811e174bcd6e1a49 /net/lapb/lapb_timer.c | |
parent | 8c755953603fdad8bcd7aa7bb7b5abc1ead8d944 (diff) | |
download | linux-ac2b47fb92c50682d89d7350a491a6a392bac5dd.tar.gz linux-ac2b47fb92c50682d89d7350a491a6a392bac5dd.tar.bz2 linux-ac2b47fb92c50682d89d7350a491a6a392bac5dd.zip |
mptcp: fix uninitialized value access
tcp_v{4,6}_syn_recv_sock() set 'own_req' only when returning
a not NULL 'child', let's check 'own_req' only if child is
available to avoid an - unharmful - UBSAN splat.
v1 -> v2:
- reference the correct hash
Fixes: 4c8941de781c ("mptcp: avoid flipping mp_capable field in syn_recv_sock()")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions