summaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-11-24 15:25:56 -0800
committerJakub Kicinski <kuba@kernel.org>2021-11-25 19:28:16 -0800
commitf3911f73f51d1534f4db70b516cc1fcb6be05bae (patch)
treec59f414ae221bf597da30044722a5d88bf3fda3e /scripts/unifdef.c
parent274af0f9e2799da22a866139d9bd203cc0baacff (diff)
downloadlinux-f3911f73f51d1534f4db70b516cc1fcb6be05bae.tar.bz2
tls: fix replacing proto_ops
We replace proto_ops whenever TLS is configured for RX. But our replacement also overrides sendpage_locked, which will crash unless TX is also configured. Similarly we plug both of those in for TLS_HW (NIC crypto offload) even tho TLS_HW has a completely different implementation for TX. Last but not least we always plug in something based on inet_stream_ops even though a few of the callbacks differ for IPv6 (getname, release, bind). Use a callback building method similar to what we do for struct proto. Fixes: c46234ebb4d1 ("tls: RX path for ktls") Fixes: d4ffb02dee2f ("net/tls: enable sk_msg redirect to tls socket egress") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions