Skip to content
Commit 511e936b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Anna Schumaker
Browse files

sunrpc: mark all struct rpc_procinfo instances as const



struct rpc_procinfo contains function pointers, and marking it as
constant avoids it being able to be used as an attach vector for
code injections.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 9ae7d8ff
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