diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-11-21 15:57:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-23 21:06:38 +0100 |
commit | fe9ef3ce395d06e4f17e5995ab8455b9627f3306 (patch) | |
tree | e76b51d53a559afc69fe20e66fc4697041c3d4db /net/vmw_vsock | |
parent | net: ipmr: fix code and comment style (diff) | |
download | linux-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/vmw_vsock')
0 files changed, 0 insertions, 0 deletions