diff options
| author | 2015-11-21 15:57:31 +0100 | |
|---|---|---|
| committer | 2015-11-23 15:06:39 -0500 | |
| commit | 29e97d214509ef4977838e073d30f6b16f75c6d5 (patch) | |
| tree | 2065e7be564902d1e81233e7b45f46824823fbb5 /include/linux | |
| parent | net: ipmr: drop ip_mr_init() mrt_cachep null check as we'll panic if it fails (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
