Module: kamailio Branch: master Commit: 1a6102098f78855283064f82a9075630b92412f3 URL: https://github.com/kamailio/kamailio/commit/1a6102098f78855283064f82a9075630b92412f3
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-01-03T12:11:22+01:00 core: socket info - let the kernet to set nl_pid value inside nl_bound_sock() - GH #4094 --- Modified: src/core/socket_info.c --- Diff: https://github.com/kamailio/kamailio/commit/1a6102098f78855283064f82a9075630b92412f3.diff Patch: https://github.com/kamailio/kamailio/commit/1a6102098f78855283064f82a9075630b92412f3.patch --- diff --git a/src/core/socket_info.c b/src/core/socket_info.c index 13d7f53968f..b431ea395db 100644 --- a/src/core/socket_info.c +++ b/src/core/socket_info.c @@ -1389,7 +1389,7 @@ static int nl_bound_sock(void) bzero(&la, sizeof(la)); la.nl_family = AF_NETLINK; la.nl_pad = 0; - la.nl_pid = getpid(); + la.nl_pid = 0; la.nl_groups = 0; if(bind(sock, (struct sockaddr *)&la, sizeof(la)) < 0) { LM_ERR("could not bind NETLINK sock to sockaddr_nl\n"); _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!