commit | a44d9e72100f7044ac46e4e6dc475f5b4097830f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jul 17 08:23:31 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 19 18:16:41 2020 -0700 |
tree | 1bf043e2d02b8e00b1d54952b3e3799b1be79efa | |
parent | 3021ad529950d07e0408d65d0f1df00454c1d223 [diff] |
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 <hch@lst.de> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>