aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorFaisal Latif <faisal.latif@intel.com>2009-12-09 15:54:23 -0800
committerRoland Dreier <rolandd@cisco.com>2009-12-09 15:54:23 -0800
commitfd000e12a564bdeaec5e5a438d341d9132409f26 (patch)
tree6e0a0eb3846b11d8dcb7ee8c5640b32809721bb6 /mm/hugetlb.c
parentRDMA/nes: Fix Xansation test crash on cm_node ref_count (diff)
downloadwireguard-linux-fd000e12a564bdeaec5e5a438d341d9132409f26.tar.xz
wireguard-linux-fd000e12a564bdeaec5e5a438d341d9132409f26.zip
RDMA/nes: Check for zero STag
STags are generated randomly but the driver does not correctly prevent a zero STag. Using STag zero is privileged and causes a user space application to fail. This change prevents the driver from trying to allocate a zero STag. Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions