commit | fd000e12a564bdeaec5e5a438d341d9132409f26 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Wed Dec 09 15:54:23 2009 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Dec 09 15:54:23 2009 -0800 |
tree | 6e0a0eb3846b11d8dcb7ee8c5640b32809721bb6 | |
parent | 886f98a31586fd560fe83c44ad72e3ebe62f8e2e [diff] |
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>