Thread (27 messages) 27 messages, 5 authors, 2020-07-20

Re: [PATCH 22/22] net: make ->{get,set}sockopt in proto_ops optional

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2020-07-17 08:02:26
Also in: bpf, bridge, linux-arch, linux-bluetooth, linux-can, linux-sctp, lkml, netfilter-devel

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 <hch@lst.de>
---
 net/can/bcm.c               |  2 --
 net/core/sock.c             | 14 --------------
For the CAN part:

Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help