Repository navigation
Commit 9e5ffed
net/tls: remove the dead inplace_crypto code
Looks like when BPF support was added by commit d3b18ad
("tls: add bpf support to sk_msg handling") and
commit d829e9c ("tls: convert to generic sk_msg interface")
it broke/removed the support for in-place crypto as added by
commit 4e6d472 ("tls: Add support for inplace records
encryption").
The inplace_crypto member of struct tls_rec is dead, inited
to zero, and sometimes set to zero again. It used to be
set to 1 when record was allocated, but the skmsg code doesn't
seem to have been written with the idea of in-place crypto
in mind.
Since non trivial effort is required to bring the feature back
and we don't really have the HW to measure the benefit just
remove the left over support for now to avoid confusing readers.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 65190f7 commit 9e5ffed
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
714 | | - | |
| 713 | + | |
715 | 714 | | |
716 | 715 | | |
717 | 716 | | |
| |||
976 | 975 | | |
977 | 976 | | |
978 | 977 | | |
979 | | - | |
980 | | - | |
981 | 978 | | |
982 | 979 | | |
983 | 980 | | |
| |||
1176 | 1173 | | |
1177 | 1174 | | |
1178 | 1175 | | |
1179 | | - | |
1180 | 1176 | | |
1181 | 1177 | | |
1182 | 1178 | | |
| |||
0 commit comments