commit | 499b4988109e91b76f231fb1b4f1e53ec3260686 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri May 12 15:36:49 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon May 15 17:42:20 2017 +0200 |
tree | cb00c04bb34f8e82ef15bdd4d843c33a7833c80e | |
parent | f700c72dd2f1f886f56788436b540aab95903c3f [diff] |
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: Christoph Hellwig <hch@lst.de> Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>