]> err.no Git - linux-2.6/commit
[DLCI]: Fix tiny race between module unload and sock_ioctl.
authorPavel Emelyanov <xemul@openvz.org>
Fri, 21 Mar 2008 22:58:52 +0000 (15:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Mar 2008 22:58:52 +0000 (15:58 -0700)
commit7512cbf6efc97644812f137527a54b8e92b6a90a
treebf603e7ede2af1163c866bc04e540807d1a298c1
parent1233823b0847190976d69a86d7bb1287992ba2c7
[DLCI]: Fix tiny race between module unload and sock_ioctl.

This is a narrow pedantry :) but the dlci_ioctl_hook check and call
should not be parted with the mutex lock.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c