Unbreak no-INET kernels after r223839 adding the needed #ifdef INET.
MFC after: 4 weeks
This commit is contained in:
parent
0c59f27b41
commit
bb2bbd7fa6
@ -337,7 +337,9 @@ tcp_init(void)
|
||||
|
||||
TUNABLE_INT_FETCH("net.inet.tcp.soreceive_stream", &tcp_soreceive_stream);
|
||||
if (tcp_soreceive_stream) {
|
||||
#ifdef INET
|
||||
tcp_usrreqs.pru_soreceive = soreceive_stream;
|
||||
#endif
|
||||
#ifdef INET6
|
||||
tcp6_usrreqs.pru_soreceive = soreceive_stream;
|
||||
#endif /* INET6 */
|
||||
|
Loading…
Reference in New Issue
Block a user