]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: Constify base proto ops used for building tls proto
authorJakub Sitnicki <jakub@cloudflare.com>
Tue, 17 Mar 2020 17:04:37 +0000 (18:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 03:08:17 +0000 (20:08 -0700)
commit29d6fc1e19d7fb12304bae3f4669bdfc842698a6
tree16b5f244d1ef93f86b2a9b42cc10c68d694129f3
parent5d9b58f2db80b7af3d97f2059cec99b36ff6bfb8
net/tls: Constify base proto ops used for building tls proto

The helper that builds kTLS proto ops doesn't need to and should not modify
the base proto ops. Annotate the parameter as read-only.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_main.c