summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2015-11-21 15:57:28 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-23 21:06:38 +0100
commitfe9ef3ce395d06e4f17e5995ab8455b9627f3306 (patch)
treee76b51d53a559afc69fe20e66fc4697041c3d4db /net/socket.c
parentnet: ipmr: fix code and comment style (diff)
downloadlinux-fe9ef3ce395d06e4f17e5995ab8455b9627f3306.tar.xz
linux-fe9ef3ce395d06e4f17e5995ab8455b9627f3306.zip
net: ipmr: make ip_mroute_getsockopt more understandable
Use a switch to determine if optname is correct and set val accordingly. This produces a much more straight-forward and readable code. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions