tls: Depend upon INET not plain NET.

We refer to TCP et al. symbols so have to use INET as
the dependency.

   ERROR: "tcp_prot" [net/tls/tls.ko] undefined!
>> ERROR: "tcp_rate_check_app_limited" [net/tls/tls.ko] undefined!
   ERROR: "tcp_register_ulp" [net/tls/tls.ko] undefined!
   ERROR: "tcp_unregister_ulp" [net/tls/tls.ko] undefined!
   ERROR: "do_tcp_sendpages" [net/tls/tls.ko] undefined!

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2017-06-16 11:28:49 -04:00
parent 117b07e64b
commit 54144b4825
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#
config TLS
tristate "Transport Layer Security support"
depends on NET
depends on INET
default m
---help---
Enable kernel support for TLS protocol. This allows symmetric