diff options
author | Vinay Kumar Yadav <vinay.yadav@chelsio.com> | 2020-10-19 17:20:22 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-20 17:29:17 -0700 |
commit | 86cdf9ca4409d997a391103e480b3f77b7ccc19b (patch) | |
tree | 1d04563be846188b7229c048929ad56c3a6b433e /lib/fdt_ro.c | |
parent | 81519d1f7df7ed1bd5b1397540c8884438f57ae2 (diff) | |
download | linux-86cdf9ca4409d997a391103e480b3f77b7ccc19b.tar.bz2 |
chelsio/chtls: fix panic when server is on ipv6
Netdev is filled in egress_dev when connection is established,
If connection is closed before establishment, then egress_dev
is NULL, Fix it using ip_dev_find() rather then extracting from
egress_dev.
Fixes: 6abde0b24122 ("crypto/chtls: IPv6 support for inline TLS")
Signed-off-by: Venkatesh Ellapu <venkatesh.e@chelsio.com>
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions