]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Use kmemdup_nul() in rpc_parse_scope_id()
authorTrond Myklebust <trondmy@gmail.com>
Sun, 2 Feb 2020 22:57:08 +0000 (17:57 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commit2210624f4f43fb2661732d6f5e812f61eaedaff7
tree84a93a414f74d858ecb10c41ba1a1cfc61476344
parent7b1d976642672c8d71d0cbbf7f37a32b3258a2c4
SUNRPC: Use kmemdup_nul() in rpc_parse_scope_id()

Using kmemdup_nul() is more efficient when the length is known.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/addr.c