tls: Depend upon INET not plain NET.
authorDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 15:28:49 +0000 (11:28 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 15:28:49 +0000 (11:28 -0400)
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>
net/tls/Kconfig

index 61e532964c82e5d5c7eca227468bf3ed077aedf1..b13541f571d4d3e8af94f54578458f98f859bea8 100644 (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