Commit 2e67fa3
committed
nvme: expose tls mode in use
It is not possible to determine the active TLS mode from the
presence or absence of sysfs attributes like tls_key,
tls_configured_key, or dhchap_secret.
With the introduction of the concat mode and optional DH-CHAP
authentication, different configurations can result in identical
sysfs state. This makes user space detection unreliable.
Read the TLS mode used from the newly added sysfs entry.
(cherry picked from d0c4d3aedb1c)
Signed-off-by: Daniel Wagner <[email protected]>1 parent 085b90b commit 2e67fa3
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
1983 | 1997 | | |
1984 | 1998 | | |
1985 | 1999 | | |
| |||
2088 | 2102 | | |
2089 | 2103 | | |
2090 | 2104 | | |
| 2105 | + | |
2091 | 2106 | | |
2092 | 2107 | | |
2093 | 2108 | | |
| |||
0 commit comments