The branch main has been updated by gallatin:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0756bdf19c5c97fabf4090e844f8df9505fbd566

commit 0756bdf19c5c97fabf4090e844f8df9505fbd566
Author:     Andrew Gallatin <galla...@freebsd.org>
AuthorDate: 2021-07-07 19:05:49 +0000
Commit:     Andrew Gallatin <galla...@freebsd.org>
CommitDate: 2021-07-07 19:08:13 +0000

    ktls: make ktls_disable_ifnet() shim static
    
    A user reported that when compiling without KERN_TLS, and
    with -O0, the kernel failed to link due to ktls_disable_ifnet()
    being undefined.   Making the shim static works around this issue.
    
    Reported by: Gary Jennejohn
    Sponsored by: Netflix
---
 sys/sys/ktls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/ktls.h b/sys/sys/ktls.h
index 7fd8831878b4..a4156eb10395 100644
--- a/sys/sys/ktls.h
+++ b/sys/sys/ktls.h
@@ -238,7 +238,7 @@ extern unsigned int ktls_ifnet_max_rexmit_pct;
 void ktls_disable_ifnet(void *arg);
 #else
 #define ktls_ifnet_max_rexmit_pct 1
-inline void
+static inline void
 ktls_disable_ifnet(void *arg __unused)
 {
 }
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to