Skip to content
Commit a44d9e72 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3021ad52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment