aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/security/selinux/netlink.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-06-21 18:10:51 +0300
committerLuciano Coelho <coelho@ti.com>2012-06-23 09:32:32 +0300
commitb5b45b3cbd56162d9612dd76529d7ad9f6be9a56 (patch)
tree5ba9aefbd6450d2de9019724a4dbc92abc10bb32 /security/selinux/netlink.c
parentwlcore: check Rx-filter functions in the suspend path (diff)
downloadwireguard-linux-b5b45b3cbd56162d9612dd76529d7ad9f6be9a56.tar.xz
wireguard-linux-b5b45b3cbd56162d9612dd76529d7ad9f6be9a56.zip
wlcore: refactor threaded IRQ routine
Separate the threaded IRQ handling routine into two functions. The outer function takes the mutex and calls recovery on errors. It also performs a Tx-path optimization to avoid redundant works. The inner function is simplified - all calls to recovery are removed and it assumes the lock is taken. The locked variant will be reused elsewhere. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'security/selinux/netlink.c')
0 files changed, 0 insertions, 0 deletions