diff options
author | Nikolay Aleksandrov <[email protected]> | 2015-11-21 15:57:28 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-11-23 15:06:38 -0500 |
commit | fe9ef3ce395d06e4f17e5995ab8455b9627f3306 (patch) | |
tree | e76b51d53a559afc69fe20e66fc4697041c3d4db /net/unix/af_unix.c | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions