summaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-07-08 19:53:15 -0700
committerDavid S. Miller <davem@davemloft.net>2019-07-08 20:21:09 -0700
commitab232e61e728a08a2cb4ebb439d7d2aa75df89c9 (patch)
treeaa5edb6066f16ea850e6f36fb7161a3f9e3b171b /net/tls/tls_main.c
parentc3b64911331219a3ff6bb6aeb844d92612a8e821 (diff)
downloadlinux-ab232e61e728a08a2cb4ebb439d7d2aa75df89c9.tar.bz2
net/tls: add missing prot info init
Turns out TLS_TX in HW offload mode does not initialize tls_prot_info. Since commit 9cd81988cce1 ("net/tls: use version from prot") we actually use this field on the datapath. Luckily we always compare it to TLS 1.3, and assume 1.2 otherwise. So since zero is not equal to 1.3, everything worked fine. Fixes: 9cd81988cce1 ("net/tls: use version from prot") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions