summaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2015-11-21 15:57:31 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-23 15:06:39 -0500
commit29e97d214509ef4977838e073d30f6b16f75c6d5 (patch)
tree2065e7be564902d1e81233e7b45f46824823fbb5 /net/802
parentaf623236a9f3a20aa2f15f03cf9fe7bfd13b8889 (diff)
downloadlinux-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