diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-11-21 15:57:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-23 15:06:39 -0500 |
commit | 29e97d214509ef4977838e073d30f6b16f75c6d5 (patch) | |
tree | 2065e7be564902d1e81233e7b45f46824823fbb5 /net/802 | |
parent | af623236a9f3a20aa2f15f03cf9fe7bfd13b8889 (diff) | |
download | linux-29e97d214509ef4977838e073d30f6b16f75c6d5.tar.bz2 |
net: ipmr: rearrange and cleanup setsockopt
Take rtnl in the beginning unconditionally as most options already need
it (one exception - MRT_DONE, see the comment inside), make the
lock/unlock places central and move out the switch() local variables.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions