mei: mei_cl_link protect open_handle_count from overflow
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 2 Sep 2013 00:11:00 +0000 (03:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 15:23:00 +0000 (08:23 -0700)
commitcaaeb09afda3a2239e02d495cea7e629136e09ee
treeeff6eae0ab25604bd0f202a3c1757ba6d8702966
parent4a10c2ac2f368583138b774ca41fac4207911983
mei: mei_cl_link protect open_handle_count from overflow

mei_cl_link is called both from mei_open and also from
in-kernel drivers so we need to protect open_handle_count
from overflow

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c