Skip to content
Commit db1bb44c authored by Trond Myklebust's avatar Trond Myklebust Committed by J. Bruce Fields
Browse files

SUNRPC: Don't allocate a full sockaddr_storage for tracing



We're always tracing IPv4 or IPv6 addresses, so we can save a lot
of space on the ringbuffer by allocating the correct sockaddr size.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org
Fixes: 83a712e0

 "sunrpc: add some tracepoints around ..."
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 6343a212
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