On Thu, 09 May 2019 21:57:49 -0700, John Fastabend wrote: > #ifdef CONFIG_TLS_DEVICE > if (ctx->rx_conf == TLS_HW) > tls_device_offload_cleanup_rx(sk); > - > - if (ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW) { > -#else > - { > #endif > + > + if (ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW) Did you try to build without CONFIG_TLS_DEVICE? I think someone spent too much time in Verilog land and decided it's a good idea to hide enum values under an ifdef: $ git grep -C4 TLS_HW, include/net/tls.h-enum { include/net/tls.h- TLS_BASE, include/net/tls.h- TLS_SW, include/net/tls.h-#ifdef CONFIG_TLS_DEVICE include/net/tls.h: TLS_HW, include/net/tls.h-#endif include/net/tls.h- TLS_HW_RECORD, include/net/tls.h- TLS_NUM_CONFIG, include/net/tls.h-}; :( > + return true; > + return false; > +}