aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2026-02-16 23:39:29 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2026-02-16 23:39:29 +0000
commit11c1b69885be9c20fba8f7b0d41bd6da8202b972 (patch)
tree07908b4d5b9a0f957ab0fc7a6c19020d386ced7c
parent757b0bf5cf46230bcbeeb298f734b9bb7cde1817 (diff)
netlink: force uninline of nl_receive_message()
The entire netlink(4) message processing thread is all inlined into nl_taskqueue_handler() making it difficult to dtrace(1) on a message level.
-rw-r--r--sys/netlink/netlink_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netlink/netlink_io.c b/sys/netlink/netlink_io.c
index 882c2181d24f..9646eb2650d5 100644
--- a/sys/netlink/netlink_io.c
+++ b/sys/netlink/netlink_io.c
@@ -256,7 +256,7 @@ nl_send(struct nl_writer *nw, struct nlpcb *nlp)
}
}
-static int
+static __noinline int
nl_receive_message(struct nlmsghdr *hdr, int remaining_length,
struct nlpcb *nlp, struct nl_pstate *npt)
{