Skip to content
Commit 16720861 authored by Chuck Lever's avatar Chuck Lever
Browse files

SUNRPC: Fix sockaddr handling in svcsock_accept_class trace points

Avoid potentially hazardous memory copying and the needless use of
"%pIS" -- in the kernel, an RPC service listener is always bound to
ANYADDR. Having the network namespace is helpful when recording
errors, though.

Fixes: a0469f46

 ("SUNRPC: Replace dprintk call sites in TCP state change callouts")
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent dc6c6fb3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment