commit | fe9ef3ce395d06e4f17e5995ab8455b9627f3306 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Sat Nov 21 15:57:28 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 23 15:06:38 2015 -0500 |
tree | e76b51d53a559afc69fe20e66fc4697041c3d4db | |
parent | 7ef8f65df976369588fa1b6466668b1b6a26eb3c [diff] |
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>