aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_vlan.h
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-02-23 01:13:48 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-23 13:51:54 -0500
commit8e904550d0fffcda2b18d7ab12750b0c75757e89 (patch)
treebe10511f81dc57b40a3d747940082431fece50b6 /include/linux/if_vlan.h
parentsock_diag: Fix out-of-bounds access to sock_diag_handlers[] (diff)
downloadlinux-dev-8e904550d0fffcda2b18d7ab12750b0c75757e89.tar.xz
linux-dev-8e904550d0fffcda2b18d7ab12750b0c75757e89.zip
sock_diag: Simplify sock_diag_handlers[] handling in __sock_diag_rcv_msg
The sock_diag_lock_handler() and sock_diag_unlock_handler() actually make the code less readable. Get rid of them and make the lock usage and access to sock_diag_handlers[] clear on the first sight. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_vlan.h')
0 files changed, 0 insertions, 0 deletions