diff options
author | Ruchi Kandoi <kandoiruchi@google.com> | 2015-10-23 17:49:11 -0700 |
---|---|---|
committer | Ruchi Kandoi <kandoiruchi@google.com> | 2015-10-26 13:48:07 -0700 |
commit | 7653f2e1b3c1d950b2b4df50df8025f604bfd6dc (patch) | |
tree | b3011761c81829f81339f124f3e78979a1a3691b /include/linux/usb | |
parent | 2ccf4f4f216f32541853693d895c2e5fa9cf0d56 (diff) |
uid_cputime: Check for the range while removing range of UIDs.
Checking if the uid_entry->uid matches the uid intended to be removed will
prevent deleting unwanted uid_entry.
Type cast the key for the hashtable to the same size, as when they were
inserted. This will make sure that we can find the uid_entry we want.
Bug: 25195548
Change-Id: I567942123cfb20e4b61ad624da19ec4cc84642c1
Signed-off: Ruchi kandoi <kandoiruchi@google.com>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions