Home
last modified time | relevance | path

Searched hist:"8 e904550" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Dsock_diag.c8e904550 Fri Feb 22 19:13:48 CST 2013 Mathias Krause <minipli@googlemail.com> 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>
8e904550 Fri Feb 22 19:13:48 CST 2013 Mathias Krause <minipli@googlemail.com> 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>