From: Jakub Kicinski <jakub.kicin...@netronome.com> Date: Wed, 10 Apr 2019 16:23:39 -0700
> 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.kicin...@netronome.com> Applied, thanks Jakub.