commit | 903f1a187776bb8d79b13618ec05b25f86318885 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Apr 10 16:23:39 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 10 17:23:26 2019 -0700 |
tree | 02f075baf7b1d41f666230ab98888e3fab5b4e42 | |
parent | 44f5e0480752b356f577aef90a5813299c3c60b1 [diff] |
net/tls: fix build without CONFIG_TLS_DEVICE buildbot noticed that TLS_HW is not defined if CONFIG_TLS_DEVICE=n. Wrap the cleanup branch into an ifdef, tls_device_free_resources_tx() wouldn't be compiled either in this case. Fixes: 35b71a34ada6 ("net/tls: don't leak partially sent record in device mode") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>