]> Git Repo - linux.git/commitdiff
SUNRPC: Fix trace_svc_register() call site
authorChuck Lever <[email protected]>
Sun, 14 May 2023 19:51:48 +0000 (15:51 -0400)
committerChuck Lever <[email protected]>
Sun, 14 May 2023 19:58:14 +0000 (15:58 -0400)
The trace event recorded incorrect values for the registered family,
protocol, and port because the arguments are in the wrong order.

Fixes: b4af59328c25 ("SUNRPC: Trace server-side rpcbind registration events")
Signed-off-by: Chuck Lever <[email protected]>
net/sunrpc/svc.c

index 43e32129a583adce4d6cb0b05eb3f42c2ceb2424..79967b6925bd6178d27f65f26b675fcbe9e2cdcd 100644 (file)
@@ -1052,7 +1052,7 @@ static int __svc_register(struct net *net, const char *progname,
 #endif
        }
 
-       trace_svc_register(progname, version, protocol, port, family, error);
+       trace_svc_register(progname, version, family, protocol, port, error);
        return error;
 }
 
This page took 0.074362 seconds and 4 git commands to generate.