Skip to content

Commit 07a2730

Browse files
committed
SUNRPC: Fix trace_svc_register() call site
The trace event recorded incorrect values for the registered family, protocol, and port because the arguments are in the wrong order. Fixes: b4af593 ("SUNRPC: Trace server-side rpcbind registration events") Signed-off-by: Chuck Lever <[email protected]>
1 parent 948f072 commit 07a2730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sunrpc/svc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ static int __svc_register(struct net *net, const char *progname,
10521052
#endif
10531053
}
10541054

1055-
trace_svc_register(progname, version, protocol, port, family, error);
1055+
trace_svc_register(progname, version, family, protocol, port, error);
10561056
return error;
10571057
}
10581058

0 commit comments

Comments
 (0)