Re: [PATCH 22/22] net: make ->{get,set}sockopt in proto_ops optional
On 7/17/20 8:23 AM, Christoph Hellwig wrote: > Just check for a NULL method instead of wiring up > sock_no_{get,set}sockopt. > > Signed-off-by: Christoph Hellwig > --- > net/can/bcm.c | 2 -- > net/core/sock.c | 14 -- For the CAN part: Acked-by: Marc Klei
[PATCH 22/22] net: make ->{get,set}sockopt in proto_ops optional
Just check for a NULL method instead of wiring up sock_no_{get,set}sockopt. Signed-off-by: Christoph Hellwig --- crypto/af_alg.c | 1 - crypto/algif_aead.c | 4 crypto/algif_hash.c | 4 crypto/algif_rng.c | 2 -- crypto/algif_skcipher.c | 4